diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-02 14:44:39 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-10-02 14:47:26 -0400 |
commit | ba98841943b085891eb4bf4debc3981ac95bb7fb (patch) | |
tree | 5ca587e395283d3e301bb1b5801f01f1c1c2cab2 /gdbsupport/ChangeLog | |
parent | db20ebdfae432f23def32f0b9bbf6e023c926235 (diff) | |
download | fsf-binutils-gdb-ba98841943b085891eb4bf4debc3981ac95bb7fb.zip fsf-binutils-gdb-ba98841943b085891eb4bf4debc3981ac95bb7fb.tar.gz fsf-binutils-gdb-ba98841943b085891eb4bf4debc3981ac95bb7fb.tar.bz2 |
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
Diffstat (limited to 'gdbsupport/ChangeLog')
-rw-r--r-- | gdbsupport/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index b54bfb9..d5b20ec 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,5 +1,10 @@ 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca> + * common-debug.cc (debug_prefixed_vprintf): Move here. + * common-debug.h (debug_prefixed_vprintf): Move here. + +2020-10-02 Simon Marchi <simon.marchi@polymtl.ca> + * event-loop.h (add_file_handler): Add "name" parameter. * event-loop.cc (struct file_handler) <name>: New field. (create_file_handler): Add "name" parameter, assign it to file |