bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stabs for local variables does not work on x86-64


From: Peter Vreman
Subject: stabs for local variables does not work on x86-64
Date: Thu, 22 Apr 2004 07:58:15 +0200 (CEST)
User-agent: SquirrelMail/1.4.2 [CVS]

When compiling a simple program with gcc -gstabs the values of locals
can't be read. The problem is that the 32bit value from the stabs is
readed as unsigned instead of signed. The result is that locals on e.g. -8
are for gdb on offset 0xfffffff8. A quick test with changing the macro
INTERNALIZE_SYMBOL in dbxread.c to read the 32bit value as signed makes
the printing of local variables working.

Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]