projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9cedd1a
)
* defs.h (gdb_byte): New typedef. Tweak comments.
author
Mark Kettenis
<kettenis@gnu.org>
Sun, 8 May 2005 14:57:41 +0000
(14:57 +0000)
committer
Mark Kettenis
<kettenis@gnu.org>
Sun, 8 May 2005 14:57:41 +0000
(14:57 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/defs.h
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index b022cbfcadd8f50336433f7f530ca37769804fb2..8041eddba3472c8aeb4b690be86d9b6a65c56883 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,7
@@
2005-05-08 Mark Kettenis <kettenis@gnu.org>
2005-05-08 Mark Kettenis <kettenis@gnu.org>
+ * defs.h (gdb_byte): New typedef. Tweak comments.
+
* target.h (target_link): Remove prototype.
* target.c (target_link): Remove function.
* symfile.c: Remove comment about rombug.
* target.h (target_link): Remove prototype.
* target.c (target_link): Remove function.
* symfile.c: Remove comment about rombug.
diff --git
a/gdb/defs.h
b/gdb/defs.h
index 30178a4328e6c38ccd78a9e8ccd5d3f3d58b89e1..dcb9eb28d4a15f2226cbca86089383d545aa9657 100644
(file)
--- a/
gdb/defs.h
+++ b/
gdb/defs.h
@@
-1,7
+1,7
@@
/* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */
/* Basic, host-specific, and target-specific definitions for GDB.
Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
/* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */
/* Basic, host-specific, and target-specific definitions for GDB.
Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
, 2005
Free Software Foundation, Inc.
This file is part of GDB.
Free Software Foundation, Inc.
This file is part of GDB.
@@
-63,15
+63,16
@@
#include "libiberty.h"
#include "libiberty.h"
-/* For BFD64 and bfd_vma. */
+/* Rather than duplicate all the logic in BFD for figuring out what
+ types to use (which can be pretty complicated), symply define them
+ in terms of the corresponding type from BFD. */
+
#include "bfd.h"
#include "bfd.h"
-/* An address in the program being debugged. Host byte order. Rather
- than duplicate all the logic in BFD which figures out what type
- this is (long, long long, etc.) and whether it needs to be 64
- bits (the host/target interactions are subtle), we just use
- bfd_vma. */
+/* A byte from the program being debugged. */
+typedef bfd_byte gdb_byte;
+/* An address in the program being debugged. Host byte order. */
typedef bfd_vma CORE_ADDR;
/* This is to make sure that LONGEST is at least as big as CORE_ADDR. */
typedef bfd_vma CORE_ADDR;
/* This is to make sure that LONGEST is at least as big as CORE_ADDR. */