aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-12-182000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+6
* config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.
2000-12-17* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.Andrew Cagney2-2/+7
(gnu_store_registers): Replace assert with gdb_assert.
2000-12-152000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-8/+16
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is now part of gdbarch_tdep structure. (sh_gdbarch_init): Initialize SR_REGNUM. * config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.
2000-12-15whoops, remove conflict indicators!Elena Zannoni1-1/+0
2000-12-152000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-15/+38
* sh-tdep.c (sh_do_pseudo_register): Indent properly. Call do_dr_register_info() only for DR registers. (sh_sh4_register_name): Add comments with numbers. (_initialize_sh_tdep): Move assignment to disassemble printing function from here... (sh_gdbarch_init):...to here. Move some more general settings to before the architecture is recognized.
2000-12-15Multi-arch REGISTER_BYTES_OK.Andrew Cagney5-4/+80
2000-12-15vasprintf() -> xvasprintf()Andrew Cagney2-1/+5
2000-12-15Removed (tui and mi) directory prefixes from ChangeLog comments that IKevin Buettner2-5/+4
added in last commit.
2000-12-15Put mi and tui comments for free -> xfree change in proper ChangeLogs.Kevin Buettner3-5/+13
2000-12-15Applied solib-svr4.c changes for NetBSD from Matthew Green.Kevin Buettner2-0/+5
2000-12-15free -> xfree changesKevin Buettner1-0/+33
2000-12-15Replace free() with xfree().Kevin Buettner128-532/+545
2000-12-14* configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,J.T. Conklin2-5/+15
rs6000-*-lynxos*, sparc-*-sunos4*): Add gdbserver to configdirs.
2000-12-14Add myself as a "FreeBSD native & host" maintainer.David O'Brien1-1/+1
Approved by: Andrew Cagney <ac131313@cygnus.com> Message-ID: <3A383037.96AB4C62@cygnus.com>
2000-12-142000-12-13 Michael Chastain <chastain@redhat.com>Michael Chastain1-0/+4
* MAINTAINERS: Add Michael Chastain to Write After Approval list.
2000-12-14Added Michael Chastain with Write After Approval access.Michael Chastain1-0/+1
2000-12-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser4-233/+253
* Makefile.in (CONFIG_LOBS): New macro. Configured to the files that must be added to the gdblib itself. (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS. (INIT_FILES): Include CONFIG_OBS. (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it. (kdb): Ditto. * configure.in (CONFIG_LOBS): New variable. Object files that must be added to gdblib for the specific configuration. * configure: Regenerate.
2000-12-112000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-3/+11
* sh-tdep.c (sh_extract_struct_value_address): Protoize. 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com> * blockframe.c (get_prev_frame): Add missing paren omitted in last check-in.
2000-12-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser4-28/+51
* Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS, SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS, SUBDIR_GDBTK_CFLAGS): New macros. For gdbtk subdir. * configure.in: Fix typo. It is CONFIG_OBS not CONFIG_OJS. Use the SUBDIR_GDBTK_* macros instead of hard coded file names. * configure: Regenerate.
2000-12-112000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-3/+8
* blockframe.c (get_prev_frame): Zero all fields of prev by default using memset (instead of one at a time).
2000-12-112000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-2/+7
* sh-tdep.c (sh_extract_struct_value_address): For consistancy, change decl from "CORE_ADDR static" to "static CORE_ADDR".
2000-12-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-6/+11
* configure.in: Fix typos. It is CONFIG_SRCS not CONFIG_SRS. * configure: Regenerate.
2000-12-112000-12-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-10/+17
* configure.in: Fix a couple of typos in the handling of the enable_gdbcli option. Make it check enableval for the result of AC_ARG_ENABLE. * configure: Regenerate.
2000-12-092000-12-09 Michael Chastain <chastain@redhat.com>Michael Chastain2-10/+18
* gdb.base/break.exp (test_clear_command): Use a marker function rather than 'main' for the test function. Also move this test to an execution point where the marker function names are guaranteed to be bound to functions. (Executing tests after a 'finish' from main runs into name conflicts with local names in __libc_start_main).
2000-12-082000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-2/+14
* dwarf2read.c (DWARF2_REG_TO_REGNUM): New macro. Provide default definition. Will be used to translate between the compiler's register numbering and GDB's (for register variables etc). (new_symbol): Use DWARF2_REG_TO_REGNUM to translate register ids.
2000-12-082000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder5-8/+16
* alpha-tdep.c: Fix typo in comment. * dbxread.c: Fix typo in comment. * fr30-tdep.c: Fix typo: newline missing after comment. * mcore-tdep.c: Fix typo in comment.
2000-12-08* gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):J.T. Conklin9-61/+186
Removed unused variables and declarations. * gdbserver/low-linux.c (buf2, environ, query, quit, quit_flag): Likewise. * gdbserver/low-nbsd.c (buf2, environ, quit, quit_flag): Likewise. * gdbserver/low-sparc.c (buf2, environ, query, quit, quit_flag): Likewise. * gdbserver/low-sun.c (buf2, environ, query, quit, quit_flag): Likewise. * gdbserver/low-hppabsd.c, gdbserver/low-linux.c, gdbserver/low-nbsd.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c (create_inferior): Update comment. * gdbserver/low-nbsd.c (initialize_arch, fetch_inferior_registers, store_inferior_registers): Provide implementations for the m68k and ns32k. * config/m68k/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o * config/ns32k/nbsd.mt (GDBSERVER_DEPFILES): Likewise. * configure.tgt (m68*-*-netbsd*, ns32k-*-netbsd*): Add gdbserver to configdirs. -------------------------------------------------------------------
2000-12-082000-12-07 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-0/+333
* gdb.base/finish.exp: New test for gdb's "finish" command. * gdb.base/return2.exp: New test for gdb's "return" command. * gdb.base/return2.c: New source file for above.
2000-12-072000-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-29/+46
* config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM. * sh-tdep.c (sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, sh_do_registers_info, sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register): Ditto. * sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the disassembly print function. (_initialize_sh_tdep): Initialize tm_print_insn using the function pointer.
2000-12-07From Richard Henderson <rth@twiddle.net>:Mark Kettenis2-4/+10
* alpha-nat.c (supply_gregset, fill_gregset): Use gdb_gregset_t. (supply_fpregset, fill_fpregset): Use gdb_fpregset_t.
2000-12-062000-12-06 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-18/+18
* cli/cli-decode.c (add_abbrev_cmd): Reinstate. Add comment saying that is not currently used.
2000-12-062000-12-06 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-9/+7
* cli/cli-decode.c (lookup_cmd): Change disabled code into comment.
2000-12-062000-12-06 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-137/+5
* cli/cli-decode.c (lookup_cmd): Remove old stale copy of this routine which was not being used for quite some time.
2000-12-052000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder9-13/+50
* gdb.base/constvars.exp: Add a "pass" message if "up" succeeds. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.c++/derivation.exp: Ditto. * gdb.c++/local.exp: Ditto. * gdb.c++/namespace.exp: Ditto. * gdb.c++/overload.exp: Ditto. * gdb.c++/ref-types.exp: Ditto.
2000-12-052000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder10-22/+63
* gdb.base/constvars.exp: Test result of "up" command. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.base/scope.exp: Ditto. * gdb.c++/derivation.exp: Ditto. * gdb.c++/local.exp: Ditto. * gdb.c++/namespace.exp: Ditto. * gdb.c++/overload.exp: Ditto. * gdb.c++/ref-types.exp: Ditto.
2000-12-05* gdb-stabs.h (SECT_OFF_MAX): Increase to 64.Mark Kettenis3-4/+9
* symfile.h (MAX_SECTIONS): Increase to 64.
2000-12-052000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-24/+8
* config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used anywhere. * sh-tdep.c (sh_gdbarch_init): Don't initialize DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM.
2000-12-052000-12-04 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-1/+5
* utils.c (internal_verror): Fix typo in error msg.
2000-12-05* gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM,Andrew Cagney2-0/+17
DWARF2_REG_TO_REGNUM): Document.
2000-12-04* Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.Mark Kettenis2-3/+7
2000-12-04Fix dwarf2read.c related crash in which section index was not beingKevin Buettner2-23/+11
initialized properly.
2000-12-04Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,Andrew Cagney12-32/+318
DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.
2000-12-022000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>Stephane Carrez2-12/+6
* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove elf_flags, cleanup. (gdbarch_tdep): Likewise.
2000-12-022000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>Stephane Carrez2-2/+8
* m68hc11-tdep.c (SOFT_D1_REGNUM): Soft registers start at 14. (m68hc11_register_names): Add null for register 13.
2000-12-022000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>Stephane Carrez2-168/+229
* m68hc11-tdep.c (m68hc11_frame_args_address): Fix args address computation. (m68hc11_frame_init_saved_regs): Frame pointer is saved only if the symbol exist. (m68hc11_analyze_instruction): New function. (m6811_prologue, m6812_prologue): New prologue description tables. (m68hc11_guess_from_prologue): Use the above. (m68hc11_gdbarch_init): Setup gdbarch_tdep for the prologue descriptions.
2000-12-02Add check for vfork() to configure.in. Cleanup uses.Andrew Cagney6-8/+24
2000-12-02* ser-unix.c (wait_for): Initialize the FD_SET before every selectAndrew Cagney2-35/+44
call. (ser_unix_wait_for): Ditto.
2000-12-02Really check-in:Andrew Cagney2-3/+7
* Makefile.in (varobj.o): Delete special .c.o rule supressing -Werror flag.
2000-12-02* m32r-rom.c (m32r_load_section): Update to matchAndrew Cagney2-1/+7
bfd_map_over_sections's ``func'' arg.
2000-12-02* mips-tdep.c (struct upk_mips16): Delete fields ``inst'' andAndrew Cagney2-174/+179
``fmt''. Make ``offset'' a CORE_ADDR. (print_unpack): Delete. (extended_offset): Construct and return a CORE_ADDR. (fetch_mips_16): Return an int. Don't assume short is 16 bits. (unpack_mips16): Rewrite. Add ``extension'' parameter instead of incorrectly guessing if the instruction had an extension. (map16): Delete array. (mips16_op): Delete macro. (extended_mips16_next_pc): Rewrite of old mips16_next_pc function. When an extended instruction do a recursive call. (mips16_next_pc): Call extended_mips16_next_pc. (mips_next_pc): Cleanup.