This is the mail archive of the gdb@sourceware.org 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: Problem calling functions within gdb (version 7.5)


>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:

Phil> So it works with my installed GDB.  What architecture, and what minor
Phil> version of GDB are you using (ie 7.5.x)?  How did you compile the
Phil> binary?  I did:

Phil> gcc  -std=c99 ~/build/pr.c -o ~/build/pr -O0 -g3

It fails if you use g++ here.

Tom


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