gdb: move debug_prefixed_vprintf here
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 2 Oct 2020 18:44:39 +0000 (14:44 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 2 Oct 2020 18:47:26 +0000 (14:47 -0400)
commitba98841943b085891eb4bf4debc3981ac95bb7fb
tree5ca587e395283d3e301bb1b5801f01f1c1c2cab2
parentdb20ebdfae432f23def32f0b9bbf6e023c926235
gdb: move debug_prefixed_vprintf here

The following patch needs to output debug prints from gdbsupport code.
Move debug_prefixed_vprintf so that it is possible to use it from
gdbsupport.

gdb/ChangeLog:

* debug.c (debug_prefixed_vprintf): Move to gdbsupport.
* debug.h: Remove.
* infrun.c: Include gdbsupport/common-debug.h.
* linux-nat.c: Likewise.

gdbsupport/ChangeLog:

* common-debug.cc (debug_prefixed_vprintf): Move here.
* common-debug.h (debug_prefixed_vprintf): Move here.

Change-Id: I5170065fc10a7a49c0f1bba67c691decb2cf3bcb
gdb/ChangeLog
gdb/debug.c
gdb/debug.h [deleted file]
gdb/infrun.c
gdb/linux-nat.c
gdbsupport/ChangeLog
gdbsupport/common-debug.cc
gdbsupport/common-debug.h
This page took 0.025901 seconds and 4 git commands to generate.