public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] gdb: make gdb_disassembly_flag unsigned
Date: Sun,  2 Oct 2022 13:15:13 +0000 (GMT)	[thread overview]
Message-ID: <20221002131513.271DD3858285@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2bfed4e87257a8d6433edb145326da31816d19c1

commit 2bfed4e87257a8d6433edb145326da31816d19c1
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Thu Jun 23 12:19:52 2022 +0100

    gdb: make gdb_disassembly_flag unsigned
    
    In a later commit I want to use operator~ on a gdb_disassembly_flag
    flag value.  This is currently not possible as gdb_disassembly_flag
    is, by default, signed.
    
    This commit just makes this enum unsigned.
    
    There should be no user visible changes after this commit.

Diff:
---
 gdb/disasm-flags.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/disasm-flags.h b/gdb/disasm-flags.h
index 5a7371b0a39..9420e7c478c 100644
--- a/gdb/disasm-flags.h
+++ b/gdb/disasm-flags.h
@@ -24,7 +24,7 @@
 
 /* Flags used to control how GDB's disassembler behaves.  */
 
-enum gdb_disassembly_flag
+enum gdb_disassembly_flag : unsigned
   {
     DISASSEMBLY_SOURCE_DEPRECATED = (0x1 << 0),
     DISASSEMBLY_RAW_INSN = (0x1 << 1),

                 reply	other threads:[~2022-10-02 13:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221002131513.271DD3858285@sourceware.org \
    --to=aburgess@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).