This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem calling functions within gdb (version 7.5)
- From: Tom Tromey <tromey at redhat dot com>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: Saurabh T <saurabh at hotmail dot com>, gdb at sourceware dot org
- Date: Thu, 25 Apr 2013 07:26:00 -0600
- Subject: Re: Problem calling functions within gdb (version 7.5)
- References: <DUB123-W3379C1D5569CB0664A9923B1B50 at phx dot gbl> <51792B51 dot 2090409 at redhat dot com>
>>>>> "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