binutils-gdb/gdb/mi
Pedro Alves 02457c768f MI -trace-find, print frame with LOC_AND_ADDRESS instead of SRC_AND_LOC.
When I looked for print_stack_frame calls in MI, I wondered why this
one passing down SRC_AND_LOC.  print_stack_frame does:

  /* For mi, alway print location and address.  */
  if (ui_out_is_mi_like_p (current_uiout))
    print_what = LOC_AND_ADDRESS;

So it really doesn't matter which value is passed down, but, to avoid
confusion in readers, it's better to use the MI standard here.
There's another SRC_AND_LOC in mi-interp.c, but that one makes sense.

gdb/
2013-08-30  Pedro Alves  <palves@redhat.com>

	* mi/mi-main.c (mi_cmd_trace_find): Use LOC_AND_ADDRESS instead of
	SRC_AND_LOC.
2013-08-30 15:37:37 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c 2013-07-19 Hui Zhu <hui@codesourcery.com> 2013-07-19 07:26:46 +00:00
mi-cmd-break.h
mi-cmd-catch.c
mi-cmd-disas.c
mi-cmd-env.c
mi-cmd-file.c
mi-cmd-info.c
mi-cmd-stack.c Add options to skip unavailable locals 2013-08-27 05:20:57 +00:00
mi-cmd-target.c
mi-cmd-var.c gdb/ 2013-06-03 03:16:24 +00:00
mi-cmds.c gdb/ 2013-06-26 08:17:27 +00:00
mi-cmds.h gdb/ 2013-06-26 08:17:27 +00:00
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-getopt.h Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-interp.c Remove use of deprecated_command_loop_hook from mi code. 2013-08-29 16:59:48 +00:00
mi-main.c MI -trace-find, print frame with LOC_AND_ADDRESS instead of SRC_AND_LOC. 2013-08-30 15:37:37 +00:00
mi-main.h
mi-out.c Add support for a destructor for ui_out data and use it to 2013-02-12 01:47:49 +00:00
mi-out.h
mi-parse.c add -Wold-style-declaration 2013-07-01 19:50:11 +00:00
mi-parse.h gdb/ 2013-06-03 03:16:24 +00:00
mi-symbol-cmds.c