Commit Graph

20836 Commits

Author SHA1 Message Date
Maciej W. Rozycki 968b53918b * mips-tdep.c (mips_o32_push_dummy_call): Take account of
argument alignment requirements when calculating stack space
required.  When aligning an arg register to eight bytes
boundary, align stack_offset too.  Write floating-point
arguments to the appropriate integer register if need go there.
(mips_o64_push_dummy_call): Likewise.
2007-04-17 14:48:49 +00:00
gdbadmin d100f86110 *** empty log message *** 2007-04-17 00:00:02 +00:00
Denis Pilat 7d90fdfa95 2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.base/setshow.exp: Reset height after having set it to 100.
2007-04-16 12:13:16 +00:00
Denis Pilat 5d3e9c8525 2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi2-stack.exp: update from mi-stack.exp.
2007-04-16 12:06:22 +00:00
Denis Pilat 18e7596947 2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi2-var-display.exp: Test for the fullname field.
2007-04-16 12:02:31 +00:00
gdbadmin 4c35813a75 *** empty log message *** 2007-04-16 00:00:32 +00:00
gdbadmin 1ad2173710 *** empty log message *** 2007-04-15 00:00:03 +00:00
Ulrich Weigand e0cd558aaa * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
"sig" arguments, add "regcache" argument.
	* gdbarch.c, gdbarch.h: Regenerate.

	* infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
	(handle_inferior_event): Call remove_single_step_breakpoints directly
	instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.

	* alpha-tdep.c (alpha_software_single_step): Update argument list.
	Remove handling of !insert_breakpoints_p case.
	* arm-tdep.c (arm_software_single_step): Likewise.
	* cris-tdep.c (cris_software_single_step): Likewise.
	* mips-tdep.c (mips_software_single_step): Likewise.
	* rs6000-tdep.c (rs6000_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.

	* alpha-tdep.h (alpha_software_single_step): Update prototype.
	* mips-tdep.h (mips_software_single_step): Likewise.
	* rs6000-tdep.h (rs6000_software_single_step): Likewise.
	* sparc-tdep.h (sparc_software_single_step): Likewise.
2007-04-14 18:10:54 +00:00
Ulrich Weigand 06a862851c * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
when removing single-step breakpoints.
2007-04-14 16:17:39 +00:00
Vladimir Prus 25d5ea921b * varobj.h (varobj_set_frozen): New
(varobj_get_frozen): New.
        (varobj_update): New parameter explicit.
        * varobj.c (struct varobj): New fields frozen
        and not_fetched.
        (varobj_set_frozen, varobj_get_frozen): New.
        (install_new_value): Don't fetch values for
        frozen variable object, or children thereof.  Allow
        a frozen variable object to have non-fetched value.
        (varobj_update): Allow updating child variables.
        Don't traverse frozen children.
        (new_variable): Initialize the frozen field.
        (c_value_of_variable): Return NULL for frozen
        variable without any value yet.
        * mi/mi-cmd-var.c (varobj_update_one): New parameter
        'explicit'.
        (mi_cmd_var_create): Output the 'frozen' field,
        as soon as testsuite is adjusted to expect that field.
        (mi_cmd_var_set_frozen): New.
        (mi_cmd_var_update): Pass the 'explicit' parameter to
        varobj_update_one.
        * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
        * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
2007-04-14 09:51:30 +00:00
gdbadmin 4d115fc687 *** empty log message *** 2007-04-14 00:00:32 +00:00
Paul Brook 6e3bbd1ac6 2007-04-13 Paul Brook <paul@codesourcery.com>
* target-descriptions.c (tdesc_named_type): Add ieee_single and
	ieee_double.
	* doc/gdb.texinfo: Document ieee_single and ieee_double target types.
2007-04-13 15:07:15 +00:00
Daniel Jacobowitz cb2a4ac5da Delete files for last commit. 2007-04-13 14:25:12 +00:00
Daniel Jacobowitz ea35711cf6 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
	scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
	ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
	* Makefile.in: Remove references to deleted files.
	* README: Do not mention deleted ROM monitor interfaces.
	* defs.h (enum language): Delete language_scm.
	* expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
	(dump_subexp_body_standard): Likewise.
	* parse.c (operator_length_standard): Likewise.
	* expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
	* remote-mips.c: Do not include remote-utils.h.
	* remote-sim.c: Likewise.  Use remote_debug instead of sr_get_debug
	throughout.
	* value.c: Do not include scm-lang.h.
	(unpack_long): Delete scm_unpack call.
	* config/h8300/h8300.mt, config/mips/embed.mt,
	config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
	config/sh/embed.mt, config/sh/linux.mt: Remove references to
	deleted files.
	* NEWS: Mention removed files.

	* gdb.texinfo (Memory): Reference Remote Debugging chapter.
	(Character Sets, Caching Data of Remote Targets): Likewise.
	(Targets): Delete Remote node.  Move its text...
	(Debugging Remote Programs): ...to here.  Delete description
	of the "remote" command.
	(Remote configuration): Delete description of "set remotedevice"
	and "show remotedevice".
	(Embedded Processors): Delete H8/300, H8/500, and SH nodes.
2007-04-13 14:17:47 +00:00
Daniel Jacobowitz 058b9c07a4 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
* symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
2007-04-13 14:03:56 +00:00
Daniel Jacobowitz 54d61198d5 * NEWS: Mention removal of HP aCC support. 2007-04-13 13:56:19 +00:00
Daniel Jacobowitz e499d0f17e * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
first entry for static executables.
	(breakpoint_addr): Delete unused variable.
	(elf_locate_base): Search for _r_debug in static executables.
	(enable_break): Do not set breakpoint_addr.  Scan solib_break_names
	also.
2007-04-13 13:54:06 +00:00
Daniel Jacobowitz 4d5b2cd774 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
(bpstat_what, print_one_breakpoint, allocate_bp_location)
	(mention): Remove bp_through_sigtramp support.
	* breakpoint.h (enum bptype): Remove bp_through_sigtramp.
2007-04-13 13:50:32 +00:00
Daniel Jacobowitz 46d570866d * breakpoint.c (bpstat_what): Give step-resume higher priority than
shlib events.
2007-04-13 13:33:10 +00:00
Daniel Jacobowitz d3169d93f7 * infrun.c: Doc fixes.
(handle_inferior_event): Clarify debug message.
	(insert_step_resume_breakpoint_at_sal): Print a debug message.
2007-04-13 13:29:42 +00:00
Ulrich Weigand 8c9e438473 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. 2007-04-13 00:39:49 +00:00
gdbadmin 1677dee00c *** empty log message *** 2007-04-13 00:00:02 +00:00
Ulrich Weigand 9418f048b5 * config/m68k/tm-monitor.h: Delete file.
* config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
	* m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
	call moved to ...
	* m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
	* m68klinux-tdep.c (m68k_linux_init_abi): ... here.
2007-04-12 23:03:00 +00:00
Ulrich Weigand e6590a1b7e 2007-04-12 Luis Machado <luisgpm@br.ibm.com>
* gdbarch.sh (software_single_step): Change the return type
	from void to int and reformatted some comments to <= 80
	columns.
	* gdbarch.c, gdbarch.h: Regenerated.
	* alpha-tdep.c (alpha_software_single_step): Likewise.
	* alpha-tdep.h (alpha_software_single_step): Likewise.
	* arm-tdep.c (arm_software_single_step): Likewise.
	* cris-tdep.c (cris_software_single_step): Likewise.
	* mips-tdep.c (mips_software_single_step): Likewise.
	* mips-tdep.h (mips_software_single_step): Likewise.
	* rs6000-tdep.c (rs6000_software_single_step): Likewise.
	* rs6000-tdep.h (rs6000_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* sparc-tdep.h (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.
	* infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
	and act accordingly.
2007-04-12 14:52:20 +00:00
gdbadmin b6260c8da8 *** empty log message *** 2007-04-12 00:00:04 +00:00
Bob Wilson db2e3e2ee2 * gdb.texinfo (Contributors, Continuing and Stepping)
(Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options)
        (General Query Packets, File-I/O Remote Protocol Extension)
        (Protocol Basics, The F Reply Packet, Write)
        (Protocol-specific Representation of Datatypes, Memory Transfer):
        Fix hyphenation, punctuation and grammar problems.
        (Cygwin Native): Likewise.  Also fix misuse of @pxref and use
        'section' instead of 'subsection' in the text.
        (Non-debug DLL Symbols): Avoid 'subsubsection' in the text.
        (i386): Remove period from section name.
        (Installing GDB, Requirements, Running Configure,  Separate Objdir)
        (Config Names, Configure Options): Use @file{configure}.
2007-04-11 18:52:01 +00:00
Steve Ellcey 58b38ee2f1 * configure.ac (build_warnings): Add -Wno-char-subscripts.
* configure: Regenerate.
	* doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
2007-04-11 18:36:50 +00:00
Jan Kratochvil 70f575ccc8 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. 2007-04-11 16:09:57 +00:00
Jan Kratochvil d77b680888 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
macros.
(TYPE_IS_OPAQUE): Empty vs. opaque structures are now
distinct on the TYPE_STUB_SUPPORTED debug targets.
* dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
2007-04-11 16:04:23 +00:00
Jan Kratochvil 0b49cb802f * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
gdb.base/type-opaque.exp: New files.
2007-04-11 16:03:59 +00:00
Daniel Jacobowitz 8a3dae3ed0 * gdbint.texinfo (Writing Tests): Mention gdb_test_multiple
and tab expansion.
2007-04-11 11:11:12 +00:00
Joel Brobecker b0b9258645 * sparc-tdep.c (X_RS2): New macro.
(sparc_skip_stack_check): New function.
        (sparc_analyze_prologue): Adjust PC past stack probing
        sequence if necessary.
2007-04-11 07:10:08 +00:00
gdbadmin 6e80493ebc *** empty log message *** 2007-04-11 00:00:03 +00:00
Daniel Jacobowitz 3f11755ec1 Fix changelog entry. 2007-04-10 22:03:07 +00:00
Andreas Schwab a489f78994 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
register.
2007-04-10 16:02:41 +00:00
Daniel Jacobowitz b0b13bb4cc * breakpoint.c (gdb_breakpoint_query): Really return an
enum gdb_rc.
	(gdb_breakpoint): Likewise.
	* thread.c (do_captured_list_thread_ids): Likewise.
	(do_captured_thread_select): Likewise.
	* mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
	(mi_cmd_thread_list_ids): Remove bogus initialization.
2007-04-10 14:53:46 +00:00
Daniel Jacobowitz 1a92f85678 * Makefile.in (SFILES): Remove hpacc-abi.c.
(COMMON_OBS): Remove hpacc-abi.o.
	(ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
	(hpacc-abi.o, hpread.o): Delete rules.
	* somread.c: Delete extern declarations from hpread.c.
	(som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
	(som_symfile_finish): Do not call hpread_symfile_finish.
	(som_symfile_init): Do not call hpread_symfile_init.
	* config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
	* config/pa/hppahpux.mt (TDEPFILES): Likewise.
	* hpacc-abi.c, hpread.c: Deleted.

	* gdbint.texinfo (SOM): Correct location of the SOM reader.
2007-04-10 11:58:15 +00:00
Daniel Jacobowitz 542c95c200 * solib-svr4.c (enable_break): Simplify return value.
(svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
2007-04-10 11:51:17 +00:00
Andreas Schwab cfaefc65a4 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
l_ld_size, l_next_size, l_prev_size, l_name_size.

	* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
	to extract addresses from link map.
	(LM_DYNAMIC_FROM_LINK_MAP): Likewise.
	(LM_NEXT): Likewise.
	(LM_NAME): Likewise.
	(IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
	(elf_locate_base): Likewise.
	(open_symbol_file_object): Likewise.
	(svr4_fetch_objfile_link_map): Likewise.
	(SOLIB_EXTRACT_ADDRESS): Remove unused macro.
	(HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
	l_ld_size.
        (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
	(svr4_lp64_fetch_link_map_offsets): Likewise.

	* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
	removed members.  Set l_ld_offset to -1 if not present.
2007-04-10 08:47:53 +00:00
gdbadmin 8e77c9de92 *** empty log message *** 2007-04-10 00:00:32 +00:00
gdbadmin 3b3acb8bae *** empty log message *** 2007-04-09 00:00:33 +00:00
Vladimir Prus 65cc4390f1 Pass stderr of program run with "target remote |"
via gdb_stderr.
        * serial.c (serial_open): Set error_fd to -1.
        * serial.h (struct serial): New field error_fd.
        (struct serial_opts): New field avail.
        * ser-pipe.c (pipe_open): Create another pair
        of sockets.  Pass stderr to gdb.
        * ser-mingw.c (pipe_windows_open): Pass
        PEX_STDERR_TO_PIPE to pex_run.  Initialize
        sd->error_fd.
        (pipe_avail): New.
        (_initialize_ser_windows): Hook pipe_avail.
        * ser-base.c (generic_readchar): Check if there's
        anything in stderr channel and route that to gdb_stderr.
2007-04-08 15:20:07 +00:00
gdbadmin 1edf24da1a *** empty log message *** 2007-04-08 00:00:32 +00:00
gdbadmin 7332f2633a *** empty log message *** 2007-04-07 00:00:35 +00:00
gdbadmin 09523abea5 *** empty log message *** 2007-04-06 00:00:03 +00:00
gdbadmin a5cc7f42e5 *** empty log message *** 2007-04-05 00:00:02 +00:00
gdbadmin d46758fcb6 *** empty log message *** 2007-04-04 00:00:02 +00:00
Pedro Alves e9112110ed * dbxread.c (read_ofile_symtab): Move current_objfile
clearing to after end_stabs.
2007-04-03 00:09:54 +00:00
gdbadmin 8d9a4617bb *** empty log message *** 2007-04-03 00:00:04 +00:00
Bob Wilson 79a6e687bf * gdb.texinfo: Consistently capitalize all significant words in
node names, chapter titles, section titles, and headings.  Update
	cross references to match.
	(Starting and Stopping Trace Experiment): Make node name plural.
	(Breakpoint related warnings): Hyphenate "Breakpoint-related".
2007-04-02 17:31:40 +00:00