diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-03-20 21:41:56 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2014-03-20 21:41:56 +0000 |
commit | deba7593bb5b6e5159f5f0ea0afecd69125057a7 (patch) | |
tree | 993e78ee530e727a79cd3916503b659e756180be /gdb/mi | |
parent | d56a8dda6d5a1864b54230b356d92ce60397f0e8 (diff) | |
download | gdb-deba7593bb5b6e5159f5f0ea0afecd69125057a7.zip gdb-deba7593bb5b6e5159f5f0ea0afecd69125057a7.tar.gz gdb-deba7593bb5b6e5159f5f0ea0afecd69125057a7.tar.bz2 |
Avoid using the ISO C99 `z' formatted output modifier
* mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
`z' formatted output modifier.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 862beaf..e8de1ea 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -853,7 +853,7 @@ mi_memory_changed (struct inferior *inferior, CORE_ADDR memaddr, ui_out_field_fmt (mi_uiout, "thread-group", "i%d", inferior->num); ui_out_field_core_addr (mi_uiout, "addr", target_gdbarch (), memaddr); - ui_out_field_fmt (mi_uiout, "len", "0x%zx", len); + ui_out_field_fmt (mi_uiout, "len", "%s", hex_string (len)); /* Append 'type=code' into notification if MEMADDR falls in the range of sections contain code. */ |