This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/13483] gdb not taking 0 for pointer and boolean values
- From: "dnovillo at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 07 Dec 2011 20:18:45 +0000
- Subject: [Bug gdb/13483] gdb not taking 0 for pointer and boolean values
- Auto-submitted: auto-generated
- References: <bug-13483-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13483
--- Comment #2 from Diego Novillo <dnovillo at google dot com> 2011-12-07 20:18:45 UTC ---
On 12/07/11 15:14, keiths at redhat dot com wrote:
> http://sourceware.org/bugzilla/show_bug.cgi?id=13483
>
> Keith Seitz<keiths at redhat dot com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |keiths at redhat dot com
>
> --- Comment #1 from Keith Seitz<keiths at redhat dot com> 2011-12-07 20:14:13 UTC ---
> What version of gdb? I checked in a patch for 13225 which should at least allow
> the pointer to work without a cast. I suspect "bool" needs similar treatment.
> Does just casting the bool work?
Sorry, forgot to include that. We are using a slightly modified version
of 7.3.1:
$ gdb --version
GNU gdb (GDB) 7.3.1
If I cast the bool argument, it works fine, yes.
Diego.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.