This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Corrupted symbols for MIPS debugging...


"H . J . Lu" wrote:
> 
> > (gdb) target remote /dev/ttyS1
> > Remote debugging using /dev/ttyS1
> > 0x80012828 in breakinst () at af_packet.c:1879
> > 1879            sock_unregister(PF_PACKET);
> > (gdb) bt
> > #0  0x80012828 in breakinst () at af_packet.c:1879
> > #1  0x8001a0d4 in sys_create_module (name_user=0x10001dc8 "cfi_probe",
> >     size=8176) at module.c:305
> 
> Please provide
> 
> (gdb) list breakinst
> (gdb) print breakinst
> 
(gdb) target remote /dev/ttyS1
Remote debugging using /dev/ttyS1
0x80012828 in breakinst () at af_packet.c:1879
1879            sock_unregister(PF_PACKET);
(gdb) list breakinst
1874
1875    static void __exit packet_exit(void)
1876    {
1877            remove_proc_entry("net/packet", 0);
1878            unregister_netdevice_notifier(&packet_netdev_notifier);
1879            sock_unregister(PF_PACKET);
1880            return;
1881    }
1882
1883    static int __init packet_init(void)
(gdb) print breakinst
$1 = {<text variable, no debug info>} 0x80012824 <breakinst>
(gdb) c
Continuing.



-- 
 Steven J. Hill - Embedded SW Engineer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]