This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Corrupted symbols for MIPS debugging...
On Thu, Sep 13, 2001 at 03:00:59PM -0500, Steven J. Hill wrote:
> "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.
It sounds like the bug we have fixed. Please try my current gcc,
binutils and gdb binary rpms on oss.sgi.com. They work for me.
H.J.