This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Corrupted symbols for MIPS debugging...
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Corrupted symbols for MIPS debugging...
- From: "Steven J. Hill" <sjhill at cotw dot com>
- Date: Thu, 13 Sep 2001 15:00:59 -0500
- CC: binutils at sourceware dot cygnus dot com, linux-mips at oss dot sgi dot com
- References: <3BA10C29.713DB745@cotw.com> <20010913130354.A29649@lucon.org>
- Reply-To: sjhill at cotw dot com
"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