Re: [rfa] Re: The problem with stabs and sign extension

H . J . Lu
2001-08-08T21:06:00Z

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.