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/22010] PASS->FAIL: gdb.base/sizeof.exp: check valueof "'\377'"


https://sourceware.org/bugzilla/show_bug.cgi?id=22010

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
The manual says:

 @item d
 Print as integer in signed decimal.

 @item u
 Print as integer in unsigned decimal.

Note "signed".

This was discussed at:
  https://sourceware.org/ml/gdb-patches/2017-07/msg00182.html

What does the failure look like, exactly?

Note that get_integer_valueof is also documented as explicitly returning a
signed decimal:

 # Retrieve the value of EXP in the inferior, as a signed decimal value
 # (using "print /d").

-- 
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]