opyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". #0 sub_preempt_count (val=1) at sched.c:2847 2847 } ------------------------------ (gdb) info thread 2 process 17500 generic_file_buffered_write (iocb=0xf4a4de4c, iov=0xf2814f80, nr_segs=16, pos=Unhandled dwarf expression opcode 0x93 ) at filemap.c:1980 * 1 process 16395 sub_preempt_count (val=1) at sched.c:2847 (gdb) thread 2 [Switching to thread 2 (process 17500)]#0 generic_file_buffered_write (iocb=0xf4a4de4c, iov=0xf2814f80, nr_segs=16, pos=Unhandled dwarf expression opcode 0x93 ) at filemap.c:1980 1980 buf = cur_iov->iov_base + iov_base; ------------------------------ (gdb) bt #0 generic_file_buffered_write (iocb=0xf4a4de4c, iov=0xf2814f80, nr_segs=16, pos=Unhandled dwarf expression opcode 0x93 ) at filemap.c:1980 #1 0xc0149c56 in __generic_file_aio_write_nolock (iocb=0xf4a4de4c, iov=0xf2814f80, nr_segs=16, ppos=0xf4a4dfa4) at filemap.c:2096 #2 0xc014a043 in __generic_file_write_nolock (file=0x80, iov=0x80, nr_segs=128, ppos=0x80) at filemap.c:2134 #3 0xc014a43a in generic_file_writev (file=0xf36b5680, iov=0x80, nr_segs=128, ppos=0xf4a4dfa4) at filemap.c:2229 #4 0xc016956b in do_readv_writev (type=1, file=0xf36b5680, uvector=0x80, nr_segs=16, pos=0xf4a4dfa4) at read_write.c:496 #5 0xc0169628 in vfs_writev (file=0xf36b5680, vec=0x80, vlen=128, pos=0x80) at read_write.c:559 #6 0xc016972b in sys_writev (fd=128, vec=0x80, vlen=128) at read_write.c:595 #7 0xc01031eb in sysenter_past_esp () at atomic.h:175 #8 0x00000005 in ?? () #9 0xbf963e30 in ?? () #10 0x00000010 in ?? () #11 0x00000010 in ?? () #12 0x40142bf8 in ?? () #13 0xbf963d38 in ?? () #14 0x00000092 in ?? () #15 0x0000007b in ?? () #16 0xc010007b in startup_32_smp () at head.S:146 #17 0x00000092 in ?? () #18 0xffffe410 in ?? () #19 0x00000073 in ?? () #20 0x00000212 in ?? () #21 0xbf963d10 in ?? () #22 0x0000007b in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0xf7213a20 in ?? () ---Type to continue, or q to quit---q Quit ------------------------------ (gdb) list generic_file_buffered_write 1887 1888 ssize_t 1889 generic_file_buffered_write(struct kiocb *iocb, const struct iovec *iov, 1890 unsigned long nr_segs, loff_t pos, loff_t *ppos, 1891 size_t count, ssize_t written) 1892 { 1893 struct file *file = iocb->ki_filp; 1894 struct address_space * mapping = file->f_mapping; 1895 struct address_space_operations *a_ops = mapping->a_ops; 1896 struct inode *inode = mapping->host; ------------------------------ (gdb) list __generic_file_aio_write_nolock 2024 EXPORT_SYMBOL(generic_file_buffered_write); 2025 2026 ssize_t 2027 __generic_file_aio_write_nolock(struct kiocb *iocb, const struct iovec *iov, 2028 unsigned long nr_segs, loff_t *ppos) 2029 { 2030 struct file *file = iocb->ki_filp; 2031 struct address_space * mapping = file->f_mapping; 2032 size_t ocount; /* original count */ 2033 size_t count; /* after file limit checks */ ------------------------------ (gdb) list 2034 struct inode *inode = mapping->host; 2035 unsigned long seg; 2036 loff_t pos; 2037 ssize_t written; 2038 ssize_t err; 2039 2040 ocount = 0; 2041 for (seg = 0; seg < nr_segs; seg++) { 2042 const struct iovec *iv = &iov[seg]; ------------------------------ (gdb) info args iocb = (struct kiocb *) 0xf4a4de4c iov = (const struct iovec *) 0xf2814f80 nr_segs = 16 pos = Unhandled dwarf expression opcode 0x93