Re: Dwarf2 bug?

2001-06-11 Thread Daniel Berlin
[EMAIL PROTECTED] (Tim Combs) writes: Working with the Arm ADS 1.1 compiler, I noticed a problem with typedefs and gdb 5.0. The setup would be: In a header file foo.h typedef INT32 int; foo2.h include foo.h typedef RETCODE INT32; foobar.c include foo2.h RETCODE =

Re: gdb-4.18 on HP-UX 11.00 with C++ (gcc-2.95.2): autocompleting method

2001-02-21 Thread Daniel Berlin
[EMAIL PROTECTED] (Ulrich Windl) writes: When auto-completing a breakpoint in GNU gdb 4.18 configured as "hppa2.0n-hp-hpux11.00", there is a problem: After adding the class and "::", all symbols are suggested. If the right method is typed, plus a TAB, an illegal name is shown: (gdb) b

Re: gdb 5.0 ia64-unknown-linux segv error

2000-12-09 Thread Daniel Berlin
[EMAIL PROTECTED] (Kevin Buettner) writes: On Dec 8, 3:34pm, [EMAIL PROTECTED] wrote: I've transferred the ~24Mb file, testcase.tar.gz, over to the incoming location. The name/size information is: -rw-rw-r-- 1 gjertsen gjertsen 24473202 Dec 8 15:33 testcase.tar.gz tar

Re: GDB on AIX 4.3.3 and C++ with native xlC

2000-12-02 Thread Daniel Berlin
[EMAIL PROTECTED] (David Edelsohn) writes: GDB works with G++ and AIX dbx works with VAC. Name mangling and other C++ specifics are different between the two compilers. Just a note, since you seem to be implying that GDB *only* works with G++. It also works with HP aCC, as HP took the

Re: is this a bug ?

2000-09-12 Thread Daniel Berlin
[EMAIL PROTECTED] writes: Sent via Deja.com http://www.deja.com/ Before you buy. Iam using gdb 5.0. Is there a version after this ? I've made numerous C++ fixes since then, try the CVS gdb. Well, actually, wait a week, then try it. --Dan

Re: gdb 5.0 cannot print contents of 'string'

2000-09-12 Thread Daniel Berlin
[EMAIL PROTECTED] (Pierre Sarrazin) writes: This is with the default debugging format, stabs. With -gdwarf-2, the problem disappears with this particular (small) program. However, the problem reappears in a much larger program even with -gdwarf-2. I need the executable, with dwarf2

Re: gdb 5.0 cannot print contents of 'string'

2000-09-07 Thread Daniel Berlin
Pierre Sarrazin [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Pierre Sarrazin) writes: On my Pentium-based RedHat 6.2 machine, gdb 5.0 cannot print the contents of a C++ string variable. It displays this: Dixit Daniel Berlin [EMAIL PROTECTED] (2000-09-07 12:14

Re: [C++] static data members, gdb problems with

2000-08-31 Thread Daniel Berlin
On Thu, 31 Aug 2000, Andrew Cagney wrote: Just BTW, if the debug info is corrupt then GDB should report an error() and not an internal_error(). Internal errors are more for when gdb's internal data structures turn out to be broken (and about to core dump :-). enjoy,

Re: strange vector behavior w/ operator[]

2000-08-04 Thread Daniel Berlin
[EMAIL PROTECTED] (John Hunter) writes: The reason is becuse -ggdb was turning on dwarf-2, which is much better for C++. The problems that occur when debugging with STABS, which is the default, will not be fixed by me, and i'm the C++ maintainer for GDB. STABS is not good for C++ at all, it

Re: problem with namespaces

2000-07-27 Thread Daniel Berlin
[EMAIL PROTECTED] (John Hunter) writes: I doubt this is a bug, more likely my own lack of understanding of how to use namespaces within gdb, but this seemed to be the closest forum to ask such a question. If their is a better forum, please advise. In the code below, I cannot access the

Re: problem with namespaces

2000-07-27 Thread Daniel Berlin
John Hunter [EMAIL PROTECTED] writes: Damn, the quotes! I've been away from writing C++ for a while and forgot you had to quote class and namespace prefixes. Thanks for the tip. I'll have a look at gdb 5.0 +. JDH You don't have to quote class prefixes anymore, i fixed that a while

Re: problem with namespaces

2000-07-27 Thread Daniel Berlin
On 27 Jul 2000, John Hunter wrote: "Daniel" == Daniel Berlin [EMAIL PROTECTED] writes: Daniel You don't have to quote class prefixes anymore, i fixed Daniel that a while ago. :) Thanks; now after my next 6 month break I won't have to remember them... :) BTW,