With 6.8.50.20090106-cvs:

   $ gdb vmlinux
   (gdb) list sys_execve
   No line number known for sys_execve.
   (gdb) maintenance info symtabs
{ objfile /usr/local/src/openssi-future-build/linux-ssi/vmlinux ((struct objfile *) 0x845d050)
        { symtab init/main.c ((struct symtab *) 0x8906a48)
          dirname /usr/local/src/openssi-future-build/linux-ssi
          fullname (null)
          blockvector ((struct blockvector *) 0x89049b8) (primary)
          linetable ((struct linetable *) 0x88c6b58)
          debugformat DWARF 2
        }
   ... lots of stuff omitted
        { symtab arch/i386/kernel/process.c ((struct symtab *) 0x88640c8)
          dirname /usr/local/src/openssi-future-build/linux-ssi
          fullname (null)
          blockvector ((struct blockvector *) 0x88a016c) (primary)
          linetable ((struct linetable *) 0x885bcd8)
          debugformat DWARF 2
        }
   ...
        { symtab include/asm/thread_info.h ((struct symtab *) 0x8818408)
          dirname /usr/local/src/openssi-future-build/linux-ssi
          fullname (null)
          blockvector ((struct blockvector *) 0x88a016c)
          linetable ((struct linetable *) 0x8863d8c)
          debugformat unknown
        }
   }

Trying the same thing with 6.8 I get:

   (gdb) list sys_execve
   781  
   782  /*
   783   * sys_execve() executes a new program.
   784   */
   785  asmlinkage int sys_execve(struct pt_regs regs)
   786  {
   787          int error;
   788          char * filename;
   789  
   790          filename = getname((char __user *) regs.ebx);
   (gdb) maintenance info symtabs
{ objfile /usr/local/src/openssi-future-build/linux-ssi/vmlinux ((struct objfile *) 0x8377530)
     { symtab arch/i386/kernel/process.c ((struct symtab *) 0x87440f4)
       dirname /usr/local/src/openssi-future-build/linux-ssi
       fullname 
/usr/local/src/openssi-future-build/linux-ssi/arch/i386/kernel/process.c
       blockvector ((struct blockvector *) 0x8798d58) (primary)
       linetable ((struct linetable *) 0x874c8e0)
       debugformat DWARF 2
     }
   ...
     { symtab include/asm/thread_info.h ((struct symtab *) 0x874108c)
       dirname /usr/local/src/openssi-future-build/linux-ssi
       fullname (null)
       blockvector ((struct blockvector *) 0x8798d58)
       linetable ((struct linetable *) 0x8743db8)
       debugformat unknown
     }
   }
It looks like 6.8.50 is loading the symtab for init/main.c "automatically" and somehow refusing to look at other stuff on the list.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to