From: Tom Tromey Date: Wed, 24 Jul 2024 15:32:29 +0000 (-0600) Subject: Remove redundant macro definitions from remote.c X-Git-Tag: gdb-16-branchpoint~1323 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e7a9b5da47bc83d4dc5ff19ef08da008253ebf7;p=thirdparty%2Fbinutils-gdb.git Remove redundant macro definitions from remote.c I happened to notice that a few macros are defined twice in remote.c. This patch removes one copy. Tested by rebuilding. Reviewed-By: Tom de Vries --- diff --git a/gdb/remote.c b/gdb/remote.c index 0fd45cc96c9..4948a54e322 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3378,17 +3378,6 @@ struct gdb_ext_thread_info whatever. */ }; -/* The volume of remote transfers can be limited by submitting - a mask containing bits specifying the desired information. - Use a union of these values as the 'selection' parameter to - get_thread_info. FIXME: Make these TAG names more thread specific. */ - -#define TAG_THREADID 1 -#define TAG_EXISTS 2 -#define TAG_DISPLAY 4 -#define TAG_THREADNAME 8 -#define TAG_MOREDISPLAY 16 - #define BUF_THREAD_ID_SIZE (OPAQUETHREADBYTES * 2) static const char *unpack_nibble (const char *buf, int *val);