Files
binutils-gdb/gdbsupport
Andrew Burgess 2bb7589ddf gdbsupport: move xfree into its own file
In the next commit I'd like to reference gdb_unique_ptr within the
common-utils.h file.  However, this requires that I include
gdb_unique_ptr.h, which requires that xfree be defined.

Interestingly, gdb_unique_ptr.h doesn't actually include anything that
defines xfree, but I was finding that when I added a gdb_unique_ptr.h
include to common-utils.h I was getting a dependency cycle; before my
change xfree was defined when gdb_unique_ptr.h was processed, while
after my change it was not, and this made g++ unhappy.

To break this cycle, I propose to move xfree into its own header file,
gdb-xfree.h, which I'll then include into gdb_unique_ptr.h and
common-utils.cc.
2021-11-16 17:45:44 +00:00
..
2020-10-25 21:08:49 -04:00
2021-01-22 12:43:27 -05:00
2021-11-09 08:21:18 -07:00
2021-11-09 08:21:18 -07:00
2021-11-09 08:21:18 -07:00
2021-09-23 09:30:54 -06:00
2021-09-23 09:30:54 -06:00
2021-03-24 14:57:53 -03:00
2021-03-24 14:57:53 -03:00
2021-10-28 11:17:45 -04:00

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.