This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Why does mips define elf_backend_sign_extend_vma to true?
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Why does mips define elf_backend_sign_extend_vma to true?
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Tue, 7 Aug 2001 18:58:44 -0700
- Cc: Andrew Cagney <ac131313 at cygnus dot com>, binutils at sourceware dot cygnus dot com,rth at redhat dot com, GDB <gdb at sourceware dot cygnus dot com>
- References: <20010807182459.A15252@lucon.org> <20010807183933.A15425@lucon.org> <3B709900.3000502@cygnus.com> <20010807184504.A15571@lucon.org> <20010807185209.A15646@lucon.org>
On Tue, Aug 07, 2001 at 06:52:09PM -0700, H . J . Lu wrote:
> FYI, some prorgams using bfd are broken on Linux/mips because of this: nm,
> objdump and gdb. In gdb
>
> # gdb vmlinux
> ...
> (gdb) list printk
> 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)
Maybe off in your tools land. What debug format? What patches? What
GDB version?
I know there's something wrong with DWARF2 yet. Stabs works perfectly
well.
I also can't see how BFD chooses to display adddresses affecting the
ABI in any way.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer