This is the mail archive of the gdb-prs@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]

[Bug gdb/13483] gdb not taking 0 for pointer and boolean values


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.


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