]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove redundant macro definitions from remote.c
authorTom Tromey <tromey@adacore.com>
Wed, 24 Jul 2024 15:32:29 +0000 (09:32 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 24 Jul 2024 19:35:11 +0000 (13:35 -0600)
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 <tdevries@suse.de>
gdb/remote.c

index 0fd45cc96c9a44b4bc8470ad4b723966a36a4aef..4948a54e322880019aec701f4079b52f8ca7b121 100644 (file)
@@ -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);