From 35809fad091f9bb44481719c255a9e4da9345c53 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sun, 27 Jun 2004 22:26:34 +0000 Subject: [PATCH] * frame.h (struct frame_id): Change bit field type of stack_addr_p, code_addr_p and special_addr_p to 'unsigned int'. --- gdb/ChangeLog | 5 +++++ gdb/frame.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5ce86b34a1..fa149f34095 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-06-27 Ulrich Weigand + + * 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 * i386v4-nat.c: Update copyright year and tweak comment. diff --git a/gdb/frame.h b/gdb/frame.h index d9c59d17912..5fa3d895bbd 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. -- 2.30.2