binutils-gdb/gdb/python
Tom Tromey 3c6618cd22 Fix output indentation for "info pretty-printers"
I noticed that "info pretty-printers" will indent the "objfile" line
like:

    (top-gdb) info pretty-printer
    global pretty-printers:
      builtin
	mpx_bound128
      objfile /home/tromey/gdb/build/gdb/gdb pretty-printers:
      type_lookup_function

I think the "objfile" line should be "out-dented", following the same
style as the "global" and "progspace" (not shown) lines.

This patch implements this.

gdb/ChangeLog
2018-11-08  Tom Tromey  <tom@tromey.com>

	* python/lib/gdb/command/pretty_printers.py
	(InfoPrettyPrinter.invoke): Don't indent "objfile" heading.
2018-11-08 16:17:01 -07:00
..
lib/gdb Fix output indentation for "info pretty-printers" 2018-11-08 16:17:01 -07:00
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c Return gdbpy_ref from gdb_py_object_from_*longest 2018-11-04 08:01:00 -07:00
py-bpevent.c
py-breakpoint.c Return gdbpy_ref from some Python string functions 2018-11-04 08:01:01 -07:00
py-cmd.c
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c
py-framefilter.c
py-function.c
py-gdb-readline.c
py-inferior.c
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c
py-linetable.c Return gdbpy_ref from gdb_py_object_from_*longest 2018-11-04 08:01:00 -07:00
py-newobjfileevent.c
py-objfile.c Return gdbpy_ref from some Python string functions 2018-11-04 08:01:01 -07:00
py-param.c
py-prettyprint.c Return gdbpy_ref from gdbpy_get_varobj_pretty_printer 2018-11-04 08:01:01 -07:00
py-progspace.c Return gdbpy_ref from some Python string functions 2018-11-04 08:01:01 -07:00
py-record-btrace.c
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c Return gdbpy_ref from some Python string functions 2018-11-04 08:01:01 -07:00
py-threadevent.c
py-type.c Return gdbpy_ref from gdb_py_object_from_*longest 2018-11-04 08:01:00 -07:00
py-unwind.c
py-utils.c Return gdbpy_ref from some Python string functions 2018-11-04 08:01:01 -07:00
py-value.c Return gdbpy_ref from gdb_py_object_from_*longest 2018-11-04 08:01:00 -07:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h Return gdbpy_ref from gdbpy_get_varobj_pretty_printer 2018-11-04 08:01:01 -07:00
python.c Return gdbpy_ref from some Python string functions 2018-11-04 08:01:01 -07:00
python.h