[PATCH 0/4] some minor declaration shuffling

Tom Tromey tromey@adacore.com
Wed May 1 18:44:00 GMT 2019


I noticed a few things in defs.h that I thought didn't really belong
there, so this series moves them.  Then I also noticed a few things in
remote.c that could be static, so I added a patch for this as well.

Tested by rebuilding on x86-64 Fedora 29.

I think defs.h should be used for declarations that are used by the
majority of files in gdb; or in some cases for "commonly" (but perhaps
not "overwhelmingly") useful enums.  There are still a few more things
in there that, I think, could be moved out; but I haven't done so.

Tom




More information about the Gdb-patches mailing list