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
This commit is contained in:
parent
db20ebdfae
commit
ba98841943
8 changed files with 32 additions and 46 deletions
|
@ -70,7 +70,7 @@
|
|||
#include "gdbsupport/selftest.h"
|
||||
#include "scoped-mock-context.h"
|
||||
#include "test-target.h"
|
||||
#include "debug.h"
|
||||
#include "gdbsupport/common-debug.h"
|
||||
|
||||
/* Prototypes for local functions */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue