Commit Graph

14393 Commits

Author SHA1 Message Date
gdbadmin 1f0b93a6cb *** empty log message *** 2003-06-28 00:00:33 +00:00
Elena Zannoni 88a07d7ce0 2003-06-27 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o.
2003-06-27 17:05:58 +00:00
Andrew Cagney 4eb588760e 2003-06-27 Andrew Cagney <cagney@redhat.com>
* m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function.
	(m68hc11_gdbarch_init): Do not set call_dummy_address.
	* avr-tdep.c (avr_call_dummy_address): Delete function.
	(avr_gdbarch_init): Do not set call_dummy_address.
2003-06-27 16:15:09 +00:00
Elena Zannoni 1549f61969 2003-06-27 Elena Zannoni <ezannoni@redhat.com>
* symfile.c (syms_from_objfile): Move variables to inner block.
        Move the checks for the non-mainline case a bit earlier to avoid
        doing some useless computations.
2003-06-27 13:11:17 +00:00
Elena Zannoni 3cb3398dc3 2003-06-27 Elena Zannoni <ezannoni@redhat.com>
* dwarfread.c (decode_modified_type): Gag new compiler warning.
2003-06-27 13:09:38 +00:00
gdbadmin a9232bb265 *** empty log message *** 2003-06-27 00:00:32 +00:00
Elena Zannoni 3799ccc6c6 2003-06-26 Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame
	sections.
2003-06-26 21:20:39 +00:00
Michael Chastain ce1f64914e 2003-06-26 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc,
	gdb/testsuite/gdb.c++/pr-1210.exp.
2003-06-26 18:39:47 +00:00
Andrew Cagney d958dfd05b 2003-06-26 Andrew Cagney <cagney@redhat.com>
* config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's
	altivec_expression.h and altivec_registers.h.
2003-06-26 18:09:24 +00:00
Andrew Cagney d31431ed7c 2003-06-26 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (gdb_print_insn_mips): Only explicitly set
	info->mach when MIPS16.  Patch suggested by Fred Fish.
2003-06-26 18:01:58 +00:00
Andrew Cagney 714b128219 2003-06-26 Andrew Cagney <cagney@redhat.com>
* utils.c (internal_vproblem): Print the problem to a reason
	buffer and then pass to query.  Make the msg variable more local.

VS: ----------------------------------------------------------------------
2003-06-26 17:25:25 +00:00
Andrew Cagney 42efa47a82 2003-06-26 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate.  Deprecate.
	(FRAME_LOCALS_ADDRESS): Add predicate.  Deprecate.
	* gdbarch.h, gdbarch.c: Re-generate.
	* frame-base.c (default_frame_args_address): Update.  Use
	default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is
	not available.
	(default_frame_locals_address): Ditto for
	DEPRECATED_FRAME_LOCALS_ADDRESS.
	* vax-tdep.c (vax_sigtramp_saved_pc): Update.
	(vax_frame_num_args): Update.
	(vax_gdbarch_init): Update.
	* rs6000-tdep.c (rs6000_gdbarch_init): Update.
	* ns32k-tdep.c (ns32k_gdbarch_init): Update.
	* mcore-tdep.c (mcore_gdbarch_init): Update.
	* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
	* ia64-tdep.c (ia64_gdbarch_init): Update.
	* symtab.h (address_class): Update comments.
	* ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update.
	* config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
	(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
	* config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
	(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
	(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
	* config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
	* alpha-mdebug-tdep.c: Update.
	* ada-lang.c (add_symbols_from_enclosing_procs): Update.
2003-06-26 17:18:43 +00:00
Andreas Jaeger 8ffd9b1b7a * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
of SSE registers so that varargs functions work.  Rework handling
	of passing arguments on the stack.
	(x86_64_store_return_value): Return double and float values in SSE
	register.
2003-06-26 17:08:10 +00:00
Michael Chastain e8ac10a6d2 2003-06-24 Michael Chastain <mec@shout.net>
* PROBLEMS: Document pr gdb/1091 and pr gdb/1193,
	the "constructor breakpoints ignored" bug.
2003-06-26 16:22:59 +00:00
Andrew Cagney f40ab5dda0 delete stray changelog 2003-06-26 14:50:47 +00:00
gdbadmin 41108f153c *** empty log message *** 2003-06-26 00:00:32 +00:00
David Carlton 986af8e60d 2003-06-25 David Carlton <carlton@kealia.com>
* MAINTAINERS: Update e-mail address.
2003-06-25 21:54:42 +00:00
gdbadmin 8f089050dc *** empty log message *** 2003-06-25 00:00:02 +00:00
Jim Blandy e538d2d7ba * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". 2003-06-24 23:09:22 +00:00
Jim Blandy 02631ec09e * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
function.
(ppc_linux_init_abi): Register it as the
CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
2003-06-24 23:06:04 +00:00
Jim Blandy e716d87a00 * ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
(ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
method.
2003-06-24 23:03:31 +00:00
Jim Blandy d64558a59f * ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
(ppc64_standard_linkage_target): Use it.
2003-06-24 23:02:10 +00:00
Joel Brobecker e766d4d601 * gdb.base/bang.exp: New testcase. 2003-06-24 22:04:06 +00:00
Joel Brobecker 4e562065db * gdb.texinfo (Unsupported languages): New section.
(Languages): Add link to new section.
2003-06-24 21:59:37 +00:00
gdbadmin f5ee3ffaa6 *** empty log message *** 2003-06-24 00:00:01 +00:00
Joel Brobecker f125c9a4e9 * gdb.base/langs.exp: Add some tests for the "minimal" language
support.
2003-06-23 22:42:50 +00:00
Andrew Cagney 449a5da47c 2003-06-23 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases
	for 0 "int0" and 4 "int32" sized registers.
	* gdbtypes.c (builtin_type_int0): Define.
	(build_gdbtypes): Initialize builtin_type_int0.
	* gdbtypes.h (builtin_type_int0): Declare.
2003-06-23 21:05:40 +00:00
Elena Zannoni 6e25beafa9 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.objc/basicclass.exp: Return -1 if we cannot compile
        the testcase.
2003-06-23 20:20:31 +00:00
Stephane Carrez b2a02dda88 * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
as characters are unsigned.
2003-06-23 20:06:37 +00:00
Daniel Jacobowitz fba3138ed5 PR gdb/1179
* dwarfread.c (struct_type): Skip static fields without crashing.
2003-06-23 19:51:38 +00:00
Andrew Cagney f2c06f5281 2003-06-22 Andrew Cagney <cagney@redhat.com>
GDB 6.0 branch created.
	* README: Update.
	* PROBLEMS: Update.  Empty.
	* NEWS: Update.

Index: doc/ChangeLog
2003-06-22  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Contributors): Mention 6.0 release engineer.
2003-06-23 03:28:14 +00:00
Andrew Cagney f6c8180bdb 2003-06-22 Andrew Cagney <cagney@redhat.com>
GDB 6.0 branch created.
2003-06-23 02:55:08 +00:00
gdbadmin f32cd467a0 *** empty log message *** 2003-06-23 00:00:02 +00:00
Daniel Jacobowitz ae822768f9 * symfile.c (add_symbol_file_command): Use parse_and_eval_address.
Suggested by Nick Hibma <n_hibma@webweaving.org>.
2003-06-22 18:32:49 +00:00
Daniel Jacobowitz 2f816dda05 * gdb.base/relocate.exp: Test add-symbol-file with a variable
offset.
2003-06-22 18:32:38 +00:00
Andrew Cagney 261de1663a 2003-06-22 Andrew Cagney <cagney@redhat.com>
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
	GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD.  Suggested by Momchil
	Velikov.
2003-06-22 17:42:29 +00:00
Daniel Jacobowitz 96ec9981bb * tui-hooks.c: Update include order.
* tui.c: Likewise.
	* tuiCommand.c: Likewise.
	* tuiData.c: Likewise.
	* tuiDataWin.c: Likewise.
	* tuiDisassem.c: Likewise.
	* tuiGeneralWin.c: Likewise.
	* tuiIO.c: Likewise.
	* tuiLayout.c: Likewise.
	* tuiRegs.c: Likewise.
	* tuiSource.c: Likewise.
	* tuiSourceWin.c: Likewise.
	* tuiStack.c: Likewise.
	* tuiWin.c: Likewise.
2003-06-22 15:21:39 +00:00
Daniel Jacobowitz db5a5748d7 * gdb.c++/pr-1210.cc: New file.
* gdb.c++/pr-1210.exp: New file.
2003-06-22 15:20:13 +00:00
Daniel Jacobowitz b4177fca13 * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers. 2003-06-22 04:28:04 +00:00
Daniel Jacobowitz f418dd93a8 * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
* agentexpr.texi: Retitle section, and change it to an appendix.
	Comment out texinfo initialization.  Factor a @var{} into two
	pieces to prevent makeinfo warnings.
	* gdb.texinfo: Add Agent Expressions appendix.
2003-06-22 04:27:24 +00:00
Daniel Jacobowitz 30e942055c * cli/cli-cmds.c (shell_escape): Silence warnings from old
compilers.
2003-06-22 04:23:52 +00:00
Daniel Jacobowitz 1df0c130e8 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
000-exec-continue.
2003-06-22 00:04:27 +00:00
gdbadmin eda7bdeb3a *** empty log message *** 2003-06-22 00:00:31 +00:00
Daniel Jacobowitz 9e14d72114 * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
argument of val_print.
	* cp-valprint.c (cp_print_value): Don't add the offset parameter
	to the address argument of baseclass_offset or target_read_memory.
	Do add it to the argument of cp_print_value_fields.
2003-06-21 23:27:53 +00:00
Andrew Cagney a4b8ebc89d 2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
	(mips_register_name): Return names for NUM_REGS..2*NUM_REGS
	instead of 0..NUM_REGS.
	(mips_register_reggroup_p): New function.
	(mips_pseudo_register_write): New function.
	(mips_pseudo_register_read): New function.
	(mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
	based on the register's type.
	(read_next_frame_reg): Simplify.  Assert that REGNO is a pseudo /
	cooked.
	(mips_get_saved_register): Simplify.  Assert that REGNO is a
	pseudo / cooked.
	(mips_register_byte): New function.  Use MIPS_REGISTER_BYTE.
	(mips_register_type): Replace mips_register_virtual_type.  Map
	NUM_REGS..2*NUM_REGS onto 0..NUM_REGS.  Use MIPS_REGISTER_TYPE
	when available.
	(read_next_frame_reg): Simplify, but handle SP_REGNUM.  Assert
	that the register is cooked / virtual.
	(mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
	Only get the extra info when needed.
	(set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
	(mips32_heuristic_proc_desc): Fetch the cooked register.
	(heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
	(mips_init_extra_frame_info, get_frame_pointer): Ditto.
	(mips_print_register): Use gdbarch_register_type, instead of
	REGISTER_VIRTUAL_TYPE.
	(print_gp_register_row): Use gdbarch_register_type, instead of
	REGISTER_VIRTUAL_TYPE.  Allow for a pseudo / cooked REGNUM.
	(mips_print_registers_info): Assert REGNO is pseodo / cooked.
	Print the pseudo / cooked registers.
	(mips_print_registers_info): Assert REGNO is pseodo / cooked.
	Print the pseudo / cooked registers.
	(mips_xfer_register): Use regcache_cooked_read_part.  Assert that
	REG_NUM is pseudo / cooked.
	(mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
	(mips_n32n64_xfer_return_value): Ditto.
	(mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
	(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
	(mips_register_sim_regno): New function.
	(mips_gdbarch_init): Set deprecated_register_byte,
	register_group_p, pseudo_register_write, pseudo_register_read,
	register_sim_regno, and num_pseudo_regs.  Set register_type,
	instead of register_virtual_type.
	* Makefile.in (mips-tdep.o): Update dependencies.
	* config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
	REGISTER_VIRTUAL_TYPE.
	* config/mips/tm-mips.h	(MIPS_REGISTER_TYPE): Ditto.
	* config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
	* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
	* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
	* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
2003-06-21 23:14:44 +00:00
Daniel Jacobowitz 325ed08915 * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
* cli/cli-cmds.c: Include "gdb_vfork.h".
	(shell_escape): Use vfork.
2003-06-21 18:38:28 +00:00
Andrew Cagney c57bb9fa3e 2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling
	32 bit floating-point register saves.
2003-06-21 18:02:54 +00:00
Andrew Cagney 6e51443a2a 2003-06-21 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_unwind_get_saved_register): Delete.
	* frame.c (deprecated_unwind_get_saved_register): Delete function.
	* mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
	and deprecated_get_next_frame_hack instead of
	deprecated_unwind_get_saved_register.
2003-06-21 16:51:47 +00:00
Andrew Cagney ed183c7cdf 2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_dump_tdep): Do not print
	REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.
2003-06-21 16:37:33 +00:00
Andrew Cagney f0e7d0e8f2 2003-06-21 Andrew Cagney <cagney@redhat.com>
* frame.c (get_frame_register): New function.
	(frame_unwind_register_signed): New function.
	(get_frame_register_signed): New function.
	(frame_unwind_register_unsigned): New function.
	(get_frame_register_unsigned): New function.
	* frame.h: Add comments on naming schema.
	(get_frame_register, frame_unwind_register_signed): Declare.
	(get_frame_register_signed, get_frame_register_signed): Declare.
	(frame_unwind_register_unsigned): Declare.
	(get_frame_register_unsigned): Declare.
2003-06-21 16:26:02 +00:00