This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]