[binutils-gdb] gdb, btrace: fix wrong #endif comments
Markus Metzger via Gdb-cvs <[email protected]> Wed, 10 Jun 2026 04:56:57 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=205b8647a090d49a4d994196207989ecfe4cb9e7 commit 205b8647a090d49a4d994196207989ecfe4cb9e7 Author: Markus Metzger <[email protected]> Date: Mon May 4 06:49:34 2026 +0000 gdb, btrace: fix wrong #endif comments Approved-By: Simon Marchi <[email protected]> Diff: --- gdb/btrace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/btrace.c b/gdb/btrace.c index 6a8f0f549d1..965e2654c7d 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1283,7 +1283,7 @@ decode_interrupt_vector (const uint8_t vector) return nullptr; } -#endif /* defined (LIBIPT_VERSION >= 0x201) */ +#endif /* (LIBIPT_VERSION >= 0x201) */ /* Handle instruction decode events (libipt-v2). */ @@ -1596,7 +1596,7 @@ handle_pt_insn_events (struct btrace_thread_info *btinfo, handle_pt_aux_insn (btinfo, aux_string, pc); break; } -#endif /* defined (LIBIPT_VERSION >= 0x201) */ +#endif /* (LIBIPT_VERSION >= 0x201) */ } } #endif /* defined (HAVE_PT_INSN_EVENT) */ @@ -3011,7 +3011,7 @@ pt_print_packet (const struct pt_packet *packet) packet->payload.ptw.payload, packet->payload.ptw.ip ? (" ip") : ("")); break; -#endif /* defined (LIBIPT_VERSION >= 0x200) */ +#endif /* (LIBIPT_VERSION >= 0x200) */ #if (LIBIPT_VERSION >= 0x201) case ppt_cfe: @@ -3024,7 +3024,7 @@ pt_print_packet (const struct pt_packet *packet) gdb_printf (("evd %u: 0x%" PRIx64 ""), packet->payload.evd.type, packet->payload.evd.payload); break; -#endif /* defined (LIBIPT_VERSION >= 0x201) */ +#endif /* (LIBIPT_VERSION >= 0x201) */ } }