This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: calling functions in gdb sometimes doesn't work


>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
    Daniel> 
    Daniel> On Thu, May 22, 2003 at 09:52:22AM -0400, Andrew Cagney wrote:
    >> >Hi,
    >> >
    >> >with gdb 5.2 (Solaris 5.8) sometimes calling a function,
    >> >e.g. hello(){printf("hello\n");}, results in the following message:
    >> >
    >> >(gdb) p hello()
    >> >
    >> >The program being debugged stopped while in a function called from GDB.
    >> >When the function (hello) is done executing, GDB will silently
    >> >stop (instead of continuing to evaluate the expression containing
    >> >the function call).
    >> >
    Daniel> In fact, it really doesn't work right.  Jim discovered a few
    Daniel> months ago that other threads will be resumed.

so do you wanna say that this is a known bug? Is it already fixed in 5.3
or in CVS? How stable is the CVS version in general?

Klaus


-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
Left to themselves, things tend to go from bad to worse.


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