Commit Graph

12676 Commits

Author SHA1 Message Date
Daniel Jacobowitz cef4f5dd72 Fix PR gdb/778
* gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef
        before recursing.
        * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value
        of fill_in_vptr_fieldno.
2002-10-02 22:01:53 +00:00
Jim Blandy 10abb1d48f * gdb.c++/casts.cc, gdb.c++/casts.exp: New test. 2002-10-02 21:46:56 +00:00
Elena Zannoni 36dc181bba 2002-10-02 Elena Zannoni <ezannoni@redhat.com>
* inferior.h (registers_info, stepi_command, nexti_command,
        continue_command, interrupt_target_command): Export from infcmd.c.
        * frame.h (args_info, selected_frame_level_changed_hook,
        return_command): Export from stack.c.
        * v850ice.c (stepi_command, nexti_command, continue_command): use
        prototypes from inferior.h.
        * tracepoint.c (registers_info, args_info, locals_info): Use
        prototypes from frame.h and inferior.h.
        * Makefile.in (mi-main.o): Add dependency on frame.h.

2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

        * mi-main.c (mi_cmd_exec_return): Don't use
        return_command_wrapper, use return_command instead.
        (mi_cmd_exec_interrupt): Don't use
        interrupt_target_command_wrapper, use interrupt_target_command
        instead.
        (return_command_wrapper, interrupt_target_command_wrapper):
        Delete.
        Include frame.h.

2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

        * tui-hooks.c (selected_frame_level_changed_hook): Use the one
        exported from frame.h.
2002-10-02 21:33:59 +00:00
Andrew Cagney da3eff4919 2002-10-02 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_store_struct_return): Store struct_return
	value in register 3 adjusted by ppc_gp0_regnum.
2002-10-02 21:21:47 +00:00
Andrew Cagney 6f99cb26f2 2002-10-02 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.
2002-10-02 21:18:57 +00:00
Marko Mlinar da615bee0d add myself to the Write After Approval list. 2002-10-02 06:06:06 +00:00
Alexandre Oliva 62a49b2cf4 * mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
of the section for the N64 ABI, fixed.
2002-10-02 01:28:55 +00:00
Alexandre Oliva d154bee237 * config/mips/tm-irix6.h: Include solib.h. 2002-10-02 01:27:59 +00:00
gdbadmin 389e69e944 *** empty log message *** 2002-10-02 00:00:13 +00:00
Elena Zannoni ed348accac 2002-10-01 Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
	GNU operators.
2002-10-01 23:51:43 +00:00
Andrew Cagney da0f9dcdbe 2002-10-01 Andrew Cagney <ac131313@redhat.com>
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
        and that "mi0" syntax has been removed.

2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * gdb.texinfo (Mode Options): Update --interpreter option.  "mi2"
        and "mi1" instead of "mi1" and "mi0".

2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * mi-main.c (mi2_command_loop): New function.
        (mi0_command_loop): Delete function.
        (_initialize_mi_main): Recognize, and default to, "mi2".  Do not
        recognize "mi0".
        * mi-out.c (mi_table_begin): Remove mi0 code.
        (mi_table_body, mi_table_end): Ditto.
        (mi_table_header, mi_open, mi_close): Ditto.
2002-10-01 21:15:43 +00:00
David Carlton bdf64bacd5 2002-09-30 David Carlton <carlton@math.stanford.edu>
* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
	* ppc-sysv-tdep.c: #include "gdb_string.h".
	* remote-sds.c (getmessage): Add semicolon after 'retry' label to
	pacify GCC.
2002-10-01 19:26:05 +00:00
Andrew Cagney 1f609b42e3 2002-10-01 Andrew Cagney <ac131313@redhat.com>
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
	* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
	* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
	* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
	* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
	* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
	* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-10-01 16:01:37 +00:00
Andrew Cagney 54c2a1e693 2002-10-01 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
	"vrsave"'s register number.
2002-10-01 14:57:55 +00:00
Andrew Cagney cedea778f2 2002-09-30 Andrew Cagney <ac131313@redhat.com>
* mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
	use frame_unwind_signed_register to obtain the PC.
	(mips_frame_chain): Handle a generic dummy frame.
	(mips_init_extra_frame_info): When a generic dummy frame, don't
	re-compute the frame base.
	(mips_pop_frame): Handle generic dummy frames.
	(mips_gdbarch_init): When generic dummy frames, set
	use_generic_dummy_frames, push_dummy_frame to
	generic_push_dummy_frame, pc_in_call_dummy to
	generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
	generic_save_dummy_frame_tos.
2002-10-01 01:30:10 +00:00
Andrew Cagney 68315eb83a 2002-09-30 Andrew Cagney <ac131313@redhat.com>
* blockframe.c (generic_find_dummy_frame): Rewrite.  Only test
	against TOP when TOP was explictly set.
	(generic_push_dummy_frame): Set TOP to zero.
2002-10-01 01:24:01 +00:00
gdbadmin ccc8590d3a *** empty log message *** 2002-10-01 00:00:32 +00:00
Elena Zannoni 3b8630c3eb 2002-09-30 Elena Zannoni <ezannoni@redhat.com>
* event-loop.c (start_event_loop): Rename variable 'result' to
	'gdb_result', to avoid conflicts with upcoming intepreters changes.
2002-09-30 21:25:47 +00:00
Andrew Cagney c7ec4050c5 2002-09-29 Andrew Cagney <ac131313@redhat.com>
* mi-out.c (mi_version): New function.
	* mi-out.h (mi_version): Declare.
2002-09-30 20:18:52 +00:00
Keith Seitz 28ee05e924 * gdb-events.sh (selected_thread_changed): New event.
* gdb-events.c: Regenerated.
        * gdb-events.h: Regenerated.
2002-09-30 20:06:53 +00:00
Hans-Peter Nilsson 6eecb1c8dd * MAINTAINERS: Add self to Write After Approval list. 2002-09-30 16:05:31 +00:00
Fernando Nasser 92df71f044 * disasm.c: New file.
* disasm.h: New file.
	* mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
	(compare_lines): Ditto.
	(dump_insns): Ditto.
	(do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument.	(do_assembly_only): Ditto.
	(do_disassembly): Renamed to gdb_disassembly and moved to disasm.c.
	Sdded uiout argument.
	* Makefile.in: Add new files.  Reorder SFILES list. Update dependencies.	Include libgdb.a later in the insight executable.
2002-09-30 15:57:26 +00:00
Hans-Peter Nilsson 2e834e497e * gdb.texinfo (Packets): Fix typos "alligned".
Correct z3/Z3 description.  Correct z4/Z4 title.
2002-09-30 07:08:26 +00:00
Elena Zannoni 52575520c3 2002-09-29 Elena Zannoni <ezannoni@redhat.com>
* tui.c (tui_show_source): Don't access current_source_symtab, use
	accessor function instead.  Include source.h and symtab.h
	* tuiDisassem.c (tuiShowDisassemAndUpdateSource,
	tuiVerticalDisassemScroll): Use accessor functions for current
	source line and symtab.  Include source.h.
	* tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
	for current source line and symtab.  Include source.h.
	* tuiWin.c (_makeVisibleWithNewHeight): Ditto.
	* tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
	tuiHorizontalSourceScroll): Ditto.
	* tuiSource.c (tuiVerticalSourceScroll): Ditto.
2002-09-30 00:52:27 +00:00
gdbadmin 9c0c5ef93b *** empty log message *** 2002-09-30 00:00:03 +00:00
Andrew Cagney 0c22854d5e 2002-09-29 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
	bfd/elf64-alpha-fbsd.c.
2002-09-29 16:32:15 +00:00
Andrew Cagney e67f202312 2002-09-29 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
	i386gnu-tdep.c.
2002-09-29 16:20:21 +00:00
Andrew Cagney 8939621045 Zap __FUNCTION__. 2002-09-29 15:25:30 +00:00
Andrew Cagney 0aee02e418 Delete no-longer-needed tests. 2002-09-29 14:20:32 +00:00
gdbadmin dacefbdd41 *** empty log message *** 2002-09-29 00:00:32 +00:00
Corinna Vinschen 7079c36ccc * sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.
(sh_push_arguments): Store in register with correct endianess.
	(sh_default_store_return_value): Ditto.
	(sh_gdbarch_init): Set sizeof long double to 8.
2002-09-28 16:11:29 +00:00
Kevin Buettner 6fde09ad29 * gdb.base/annota1.exp (info break): Make directory components of
path optional since not all compilers emit this debug information.

 	* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
 	step ends up stepping out of the function instead of stopping on
 	the epilogue.
2002-09-28 01:12:04 +00:00
gdbadmin 613d38b830 *** empty log message *** 2002-09-28 00:00:32 +00:00
Mark Kettenis 167baebf18 Last ChangeLog entry for defs.h is for both this patch and the previous patch. 2002-09-27 22:08:51 +00:00
Mark Kettenis 975ac915d6 * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
Fix some whitespace problems.
2002-09-27 21:31:22 +00:00
David Carlton 9bbe19fb37 2002-09-27 David Carlton <carlton@math.stanford.edu>
* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
	(mcore-tdep.o): Ditto.
	(ns32k-tdep.o): Ditto.
	(ns32knbsd-tdep.o): Ditto.
	(sh3-rom.o): Ditto.
	(vax-tdep.o): Ditto.
	* cris-tdep.c: #include "gdb_string.h"
	* mcore-tdep.c: Ditto.
	* ns32k-tdep.c: Ditto.
	* ns32knbsd-tdep.c: Ditto.
	* sh3-rom.c: Ditto.
	* vax-tdep.c: Ditto.
2002-09-27 19:33:48 +00:00
David Carlton 43b2fdc74c 2002-09-27 David Carlton <carlton@math.stanford.edu>
* config/djgpp/fnchange.lst: Add entries for
	gdb/testsuite/gdb.c++/m-static files.
2002-09-27 19:20:53 +00:00
Jim Wilson e8cfbbd913 * MAINTAINERS: Add myself to the Write After Approval list. 2002-09-27 18:58:04 +00:00
Jim Wilson 57514745d6 Add myself to write-after-approval section with Andrew Cagney's permission. 2002-09-27 18:55:44 +00:00
Andrew Cagney 7501537f4e 2002-07-12 Mo DeJong <supermo@bayarea.net>
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.
2002-09-27 18:09:27 +00:00
Andrew Cagney 050be0dcbe Use @sc{gcc} and @sc{gdb}. 2002-09-27 17:56:37 +00:00
Keith Seitz 9e8aab7587 * lib/insight-support.exp (gdbtk_start): Figure out where
the insight executable is based on where gdb is. Use this
        executable to start insight instead of gdb.
2002-09-27 14:49:26 +00:00
Martin Hunt 4e0df2df38 2002-09-26Martin M. Hunt <hunt@redhat.com>
* mips-tdep.c (find_proc_desc): Initialize startaddr.
2002-09-27 00:49:01 +00:00
gdbadmin 54726db0b4 *** empty log message *** 2002-09-27 00:00:02 +00:00
Andrew Cagney 9f3b7f0716 2002-09-26 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
	frame.
2002-09-26 22:34:07 +00:00
Andrew Cagney 11269d7ebb 2002-09-26 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
	(rs6000_struct_return_address): Delete variable.
	(rs6000_store_struct_return): Update.
	(rs6000_gdbarch_init): Set extract_struct_value_address instead of
	deprecated_extract_struct_value_address.
	(rs6000_frame_align): New function.
	(rs6000_gdbarch_init): Set frame_align.
2002-09-26 22:29:09 +00:00
Elena Zannoni b72b33ef9b 2002-09-26 Elena Zannoni <ezannoni@redhat.com>
* mi-cmd-disas.c (dump_insns): Add text only output for CLI.
        (do_mixed_source_and_assembly): Ditto.
2002-09-26 18:35:21 +00:00
Andrew Cagney f15ab4a7d1 2002-09-26 Andrew Cagney <ac131313@redhat.com>
From Grace Sainsbury <graces@redhat.com>:
	* Makefile.in (gdbtk-main.o): New target.
	(gdb.o): New target.
	(main_h): Define.
	(main.o): Update dependencies.
	(gdb$(EXEEXT)): Add gdb.o.
	(SUBDIR_GDBTK_SRCS): Add gdbtk-main.c.
	(SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set.
	(SUBDIR_GDBTK_CLEAN): Set.
	(install-gdbtk): Install the insight binary.
	(uninstall-gdbtk): New target.
	(all-gdbtk, clean-gdbtk): New rule.
	* top.c (use_windows): Default to zero.
	* main.c: Include "main.h".
	(main): Delete.
	(struct captured_main_args): Delete.
	(gdb_main): New function.
	* main.h: New file.
	* gdb.c: New File.

2002-09-26  Andrew Cagney  <ac131313@redhat.com>

	From Grace Sainsbury <graces@redhat.com>:
	* generic/gdbtk-main.c: New file.
2002-09-26 17:46:04 +00:00
gdbadmin 291288b78a *** empty log message *** 2002-09-26 00:00:02 +00:00
Kevin Buettner 1104b9e790 * gdb.texinfo: Use GNU/Linux instead of Linux. 2002-09-25 22:55:30 +00:00