aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-06-27 22:26:34 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2004-06-27 22:26:34 +0000
commit35809fad091f9bb44481719c255a9e4da9345c53 (patch)
tree6f0ae0b86daeae38b151a937d52c823cf94b54a4
parent40e2047218f16d9bdf4fb452f614cf12c7d2e1b2 (diff)
downloadgdb-35809fad091f9bb44481719c255a9e4da9345c53.zip
gdb-35809fad091f9bb44481719c255a9e4da9345c53.tar.gz
gdb-35809fad091f9bb44481719c255a9e4da9345c53.tar.bz2
* frame.h (struct frame_id): Change bit field type of stack_addr_p,
code_addr_p and special_addr_p to 'unsigned int'.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/frame.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f5ce86b..fa149f3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * frame.h (struct frame_id): Change bit field type of stack_addr_p,
+ code_addr_p and special_addr_p to 'unsigned int'.
+
2004-06-27 Mark Kettenis <kettenis@gnu.org>
* i386v4-nat.c: Update copyright year and tweak comment.
diff --git a/gdb/frame.h b/gdb/frame.h
index d9c59d1..5fa3d89 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -124,9 +124,9 @@ struct frame_id
CORE_ADDR special_addr;
/* Flags to indicate the above fields have valid contents. */
- int stack_addr_p : 1;
- int code_addr_p : 1;
- int special_addr_p : 1;
+ unsigned int stack_addr_p : 1;
+ unsigned int code_addr_p : 1;
+ unsigned int special_addr_p : 1;
};
/* Methods for constructing and comparing Frame IDs.