Use field_string in more places
authorTom Tromey <tromey@adacore.com>
Mon, 1 Jul 2019 18:08:15 +0000 (12:08 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 15 Jul 2019 15:31:18 +0000 (09:31 -0600)
commit33eca68072e73d984fc139dde45b8140b94757cb
treefebcb3372032352babcf541f9bcb11f45eb771f3
parentca8d69beb1024316af8dec571584437d613f40d2
Use field_string in more places

This replaces uses of field_fmt with a "%s" format string to use
field_string instead.  Also, one use of "%9lx" is replaced with a call
to phex_nz; the '9' is dropped as it is implicit in the field width.

2019-07-15  Tom Tromey  <tromey@adacore.com>

* mi/mi-main.c (list_available_thread_groups): Use field_string.
* mi/mi-interp.c (mi_memory_changed): Use field_string.
* target.c (flash_erase_command): Use field_string.
* infrun.c (print_signal_received_reason): Use field_string.
* i386-tdep.c (i386_mpx_print_bounds): Use field_string.
* breakpoint.c (maybe_print_thread_hit_breakpoint): Use
field_string.
* ada-tasks.c (print_ada_task_info): Use field_string.
gdb/ChangeLog
gdb/ada-tasks.c
gdb/breakpoint.c
gdb/i386-tdep.c
gdb/infrun.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/target.c