This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] Re: The problem with stabs and sign extension
- To: gdb at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Subject: Re: [rfa] Re: The problem with stabs and sign extension
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Wed, 8 Aug 2001 21:06:05 -0700
- References: <20010808141207.A31287@nevyn.them.org> <20010808161421.A3360@lucon.org> <20010808165359.A3964@lucon.org> <20010808170326.A4132@lucon.org> <20010808171616.A7610@nevyn.them.org>
On Wed, Aug 08, 2001 at 05:16:16PM -0700, Daniel Jacobowitz wrote:
> > necessary.
>
> are not. The psymtab has the wrong offsets in it if you do this.
>
> There's actually a clear bug here, once you know where to look. A
> CORE_ADDR is assigned to a long int in partial-stab.h. There's a
> warning flag in GCC for this, isn't there?
>
> Please try the patch attached.
(gdb) list printk
250 printk.c: No such file or directory.
in printk.c
works. But
(gdb) print printk
During symbol reading, inner block (0x802ac9d4-0xffffffff) not inside outer block (0x802aca18-0xffffffff).
$1 = {int (char *)} 0x8011c5b0 <printk>
Something is still wrong.
H.J.