bug-gdb
[Top][All Lists]
Advanced

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

is it a bug or a feature ?


From: jmielnic
Subject: is it a bug or a feature ?
Date: Fri, 23 Mar 2001 13:57:42 -0500 (EST)

to address@hidden
Hi,
I have thought/remember 
that it was possible to invoke some library functions
under gdb 
(see below).
For 4.18 this feature does NOT work.
Is it a feature or a bug ?
              Best regards,
              Julian
(gdb) p s2
$1 = 0x221a8 "/vidtool1 / Calroot / Calaveras / server / src / ods / sfs", ' ' 
<repeats 21 times>, "\n"
(gdb) p s3
$2 = 0x22218 "/vidtool1 / Calroot / Calaveras / server / src / ods / sfs", ' ' 
<repeats 21 times>, "\n"
(gdb) p strcmp(s2,s3)

Program received signal SIGSEGV, Segmentation fault.
0xef629670 in ?? ()
The program being debugged stopped while in a function called from GDB.
When the function (at 0xef629670) is done executing, GDB will silently
stop (instead of continuing to evaluate the expression containing
the function call).



reply via email to

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