OSDN Git Service

Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
authorDavid Taylor <taylor@redhat.com>
Fri, 25 Aug 2000 20:51:19 +0000 (20:51 +0000)
committerDavid Taylor <taylor@redhat.com>
Fri, 25 Aug 2000 20:51:19 +0000 (20:51 +0000)
commitdd4f1f2290d3b0469c066ed05041b128dcf64a26
tree6f8ac68e3186c2406da53e5154a27359aafdf3b3
parent5e4830360596834745a87175d396829b0bd8c2f9
Fri Aug 25 12:11:21 2000  David Taylor  <taylor@texas.cygnus.com>

* symtab.c (search_symbols): Fix off by one error in index for
  initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
(symtab_symbol_info): fix similar off by one error.

Fri Aug 25 12:03:15 2000  David Taylor  <taylor@texas.cygnus.com>

* gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
of bits in gdb's representation of a target address.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
  TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
* printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
  of TARGET_PTR_BIT, because we're printing an address, not a pointer.
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/gdbtypes.c
gdb/printcmd.c
gdb/symtab.c