From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f8DKDV612945 for linux-mips-outgoing; Thu, 13 Sep 2001 13:13:31 -0700 Received: from ocean.lucon.org (c1473286-a.stcla1.sfba.home.com [24.176.137.160]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8DKDSe12942 for ; Thu, 13 Sep 2001 13:13:28 -0700 Received: by ocean.lucon.org (Postfix, from userid 1000) id B80C9125C3; Thu, 13 Sep 2001 13:13:27 -0700 (PDT) Date: Thu, 13 Sep 2001 13:13:27 -0700 From: "H . J . Lu" To: "Steven J. Hill" Cc: binutils@sourceware.cygnus.com, linux-mips@oss.sgi.com Subject: Re: Corrupted symbols for MIPS debugging... Message-ID: <20010913131327.A29874@lucon.org> References: <3BA10C29.713DB745@cotw.com> <20010913130354.A29649@lucon.org> <3BA1107B.B585E570@cotw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BA1107B.B585E570@cotw.com>; from sjhill@cotw.com on Thu, Sep 13, 2001 at 03:00:59PM -0500 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk 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 = {} 0x80012824 > (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.