diff options
author | Tom Tromey <tromey@redhat.com> | 2008-11-14 18:38:32 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-11-14 18:38:32 +0000 |
commit | 5966943567da3f7c25b0440f3ea78128f9142582 (patch) | |
tree | 334f9e5d4ee1784ab73bf1d8927b157cc449c65c /gdb/mi | |
parent | af4bed4bf57f2cd10d983d073b4b1b62366d65b8 (diff) | |
download | gdb-5966943567da3f7c25b0440f3ea78128f9142582.zip gdb-5966943567da3f7c25b0440f3ea78128f9142582.tar.gz gdb-5966943567da3f7c25b0440f3ea78128f9142582.tar.bz2 |
gdb
PR mi/2549:
* mi/mi-main.c (get_register): Use get_formatted_print_options.
gdb/testsuite
2008-11-14 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/gdb2549.exp: New file.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index a9fbcad..4554008 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -501,7 +501,7 @@ get_register (int regnum, int format) else { struct value_print_options opts; - get_user_print_options (&opts); + get_formatted_print_options (&opts, format); opts.deref_ref = 1; val_print (register_type (current_gdbarch, regnum), buffer, 0, 0, stb->stream, 0, &opts, current_language); |