diff options
author | Denis Pilat <denis.pilat@st.com> | 2007-03-29 07:35:39 +0000 |
---|---|---|
committer | Denis Pilat <denis.pilat@st.com> | 2007-03-29 07:35:39 +0000 |
commit | aaf9e9fd5ba92fddf4cb82bfa1e5cdf4b6234a53 (patch) | |
tree | fc1f85e60c5610480e334263836a4bb802d8130e /gdb/stack.c | |
parent | e72cf3ec8eab6e6ca2528279a556c1370c4dd900 (diff) | |
download | gdb-aaf9e9fd5ba92fddf4cb82bfa1e5cdf4b6234a53.zip gdb-aaf9e9fd5ba92fddf4cb82bfa1e5cdf4b6234a53.tar.gz gdb-aaf9e9fd5ba92fddf4cb82bfa1e5cdf4b6234a53.tar.bz2 |
2007-03-29 Denis Pilat <denis.pilat@st.com>
* stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
* infrun.c (normal_stop): Remove MI specific frame printing treatment.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 0267d0b..08eac88 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -106,6 +106,8 @@ print_stack_frame (struct frame_info *frame, int print_level, args.frame = frame; args.print_level = print_level; args.print_what = print_what; + /* For mi, alway print location and address. */ + args.print_what = ui_out_is_mi_like_p (uiout) ? LOC_AND_ADDRESS : print_what; args.print_args = 1; catch_errors (print_stack_frame_stub, &args, "", RETURN_MASK_ALL); |