Commit Graph

15443 Commits

Author SHA1 Message Date
Daniel Jacobowitz 86b013ed0b From Bernardo Innocenti <bernie@develer.com>:
* configure.tgt: Add uClinux target.
2004-01-02 17:43:44 +00:00
Andrew Cagney e42c953419 2004-01-02 Andrew Cagney <cagney@redhat.com>
* utils.c (do_my_cleanups): Make static, add forward declaration.
	* defs.h (do_my_cleanups): Delete declaration.
2004-01-02 17:35:01 +00:00
Eli Zaretskii 162467d3b4 *** empty log message *** 2004-01-02 14:32:49 +00:00
Eli Zaretskii 8de9499d0f * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
bfd/ChangeLog-0203.
2004-01-02 14:32:20 +00:00
Mark Kettenis af1c6d4556 Roll ChangeLog / ChangeLog-2003. 2004-01-02 13:01:24 +00:00
Mark Kettenis 78434e5985 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
in <machine/reg.h>.
* configure, config.in: Regenerate.
2004-01-02 12:40:09 +00:00
Michael Chastain d231d0b13f 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept gcc abi 2.
2004-01-02 06:38:01 +00:00
Michael Chastain 44ffb27cc2 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept gcc abi 2.
2004-01-02 06:17:19 +00:00
Michael Chastain 184ad4855f 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Generate identical results as old version.
	* gdb.cp/derivation.exp: Likewise.
	* gdb.cp/overload.exp: Likewise.
	* gdb.cp/virtfunc.exp: Likewise.
2004-01-02 04:46:45 +00:00
gdbadmin 5d3786c41d *** empty log message *** 2004-01-02 00:00:32 +00:00
Michael Chastain 116f09e7e9 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Modify some patterns to avoid a
	mysterious bug with sourceware version of expect.
2004-01-01 23:05:12 +00:00
Michael Chastain b13797763f 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Remove gratuitous
	restart of test program.  Use gdb_test_multiple and gdb_test for
	all tests.  Add patterns to xfail missing "const" in "const char *"
	and kfail PR gdb/1155.
2004-01-01 09:46:21 +00:00
Michael Chastain 6b7a4c0e17 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Remove gratuitous
	restart of test program.  Use gdb_test_multiple and gdb_test for
	all tests.  Add patterns to kfail PR gdb/1498.
2004-01-01 06:58:44 +00:00
Michael Chastain 51615d7251 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Use "breakpoint"
	and "continue" instead of restarting the target program.  Use
	gdb_test_multiple and gdb_test for all tests.
2004-01-01 02:30:59 +00:00
Mark Kettenis 7b79a9d72e * gdb.asm/asm-source.exp: Update copyright year. Link statically
for *-*-solaris2*.
2004-01-01 01:13:42 +00:00
gdbadmin e55f603b53 *** empty log message *** 2004-01-01 00:00:31 +00:00
Michael Chastain 1cd3489fb3 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Use "breakpoint"
	and "continue" instead of restarting the target program several
	times.  Use gdb_test_multiple and gdb_test for all tests.
2003-12-31 20:59:11 +00:00
gdbadmin 9545963939 *** empty log message *** 2003-12-31 00:00:32 +00:00
Eli Zaretskii 40a7debcab * configure.in: Check for st_blocks member in struct stat and
define HAVE_STRUCT_STAT_ST_BLOCKS accordingly.

	* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef.

	* configure, config.in: Regenerated.
2003-12-30 10:33:37 +00:00
Eli Zaretskii 6d53e9818a Remove entry for reverted change to configure.in. 2003-12-30 07:10:50 +00:00
Eli Zaretskii 8e65259860 Temporary fix for last change. 2003-12-30 07:05:21 +00:00
Eli Zaretskii 1dd727e9e9 * remote-fileio.c (remote_fileio_to_fio_stat)
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
	systems that don't have `st_blocks' member in `struct stat'.

	* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.
2003-12-30 06:52:09 +00:00
gdbadmin 283853005f *** empty log message *** 2003-12-30 00:00:32 +00:00
Eli Zaretskii ccbc3e6f71 * go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
mismatches between format string and arguments (avoids compiler
	warnings).
2003-12-29 07:42:43 +00:00
Eli Zaretskii 228a417ca2 * configure.in: Set ac_cv_search_tgetent to "none required" for
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).

* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.

* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.
2003-12-29 07:35:35 +00:00
gdbadmin 9ef86733b3 *** empty log message *** 2003-12-29 00:00:32 +00:00
Mark Kettenis 8349554deb * i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
(i386_sol2_init_abi): Initialize TDEP->sigcontext_addr,
TDEP->sc_reg_offset and TDEP->sc_num_regs.
2003-12-28 19:48:15 +00:00
Mark Kettenis 2666fb59a0 * i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
I386_SS_REGNUM.
2003-12-28 19:45:35 +00:00
gdbadmin 5afeb40cd6 *** empty log message *** 2003-12-28 00:00:32 +00:00
Mark Kettenis 3588991722 * dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
(dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
SP_REGNUM with REG_CFA.  Don't overwrite the initialized register
rule for registers left unspecified by the CFI.  Remove the
special handling of PC_REGNUM.  Add code to eleminate any REG_RA
rules.
(dwarf2_frame_prev_register): Remove the special handling of
SP_REGNUM.  Add support for the REG_CFA rule.
2003-12-27 23:15:00 +00:00
gdbadmin 1b0c858ffa *** empty log message *** 2003-12-27 00:00:32 +00:00
Mark Kettenis 6745701255 * i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h".
(i386obsd_r_reg_offset): New variable.
(i386obsd_aout_supply_regset)
(i386obsd_aout_regset_from_core_section): New functions.
(i386obsd_supply_reg, fetch_core_registers): Remove functions.
(i286obsd_core_fns): Remove variable.
(i386obsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.  Set
regset_from_core_section.  Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(_initialize_i386obsd_tdep): Don't call add_core_fns.
2003-12-26 18:07:00 +00:00
Mark Kettenis f6943e4a1d * i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
(_initialize_i386bsd_tdep): Register i386bsd_core_osabi_sniffer.
2003-12-26 17:59:48 +00:00
Mark Kettenis 4ffc84662b * i386-linux-nat.c: Add comment. 2003-12-26 15:42:58 +00:00
Christopher Faylor d6dc804979 * win32-nat.c: Add some comments about below change. 2003-12-26 14:56:45 +00:00
Christopher Faylor 3ade53336e Fix for PR threads/1048
* win32-nat.c (thread_info_struct): Add reload_context flag.
(thread_rec): Don't reload thread context here.  Just set a flag.
(do_child_fetch_inferior_registers): Reload thread context here if appropriate.
Avoid doing anything if current_thread is NULL thanks to strange Windows
behavior.
(child_fetch_inferior_registers): Avoid doing anything if current_thread is
NULL.
(do_child_store_inferior_registers): Ditto.
(child_store_inferior_registers): Ditto.
(child_kill_inferior): Ditto.
(fake_create_process): Pretend to create a process for pathological windows
attach situation.
(get_child_debug_event): Call fake_create_process when the first event noticed
is thread creation rather than process creation.
(child_attach): Always set attach_flag when attaching.
(child_create_inferior): Set attach_flag to zero since we're not attaching.
2003-12-26 04:29:22 +00:00
Christopher Faylor 87a45c9606 * win32-nat.c (get_child_debug_event): Keep main thread id around even after
thread exits since Windows insists on continuing to report events against it.
2003-12-26 00:39:04 +00:00
gdbadmin ffeaf0e8c6 *** empty log message *** 2003-12-26 00:00:02 +00:00
gdbadmin 3acdd7e208 *** empty log message *** 2003-12-25 00:00:31 +00:00
gdbadmin eb4dbeda06 *** empty log message *** 2003-12-24 00:00:02 +00:00
gdbadmin 231bc717e9 *** empty log message *** 2003-12-23 00:00:02 +00:00
Mark Kettenis 79c4cb80ee * dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
address column.
2003-12-22 20:32:51 +00:00
Jim Blandy 6c50ab1c7f * breakpoint.c (bpstat_do_actions): To ensure that
clear_proceed_status doesn't free the command tree we're
evaluating out from under us, zero the bpstat's pointer to it, and
take care of freeing it ourselves.
* cli/cli-script.c (make_cleanup_free_command_lines): Make this
function externally visible.
* cli/cli-script.h (make_cleanup_free_command_lines): New
declaration.
2003-12-22 03:43:19 +00:00
gdbadmin 7d0c64e53f *** empty log message *** 2003-12-22 00:00:31 +00:00
gdbadmin f65333104b *** empty log message *** 2003-12-21 00:00:01 +00:00
Mark Kettenis 59207364ed * x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
RIP.
2003-12-20 13:36:00 +00:00
gdbadmin 6c55c395b7 *** empty log message *** 2003-12-20 00:00:34 +00:00
Michael Chastain a2379359b4 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
	point type to floatformat_ia64_quad_big.
2003-12-19 06:45:03 +00:00
Kevin Buettner d40fcd7bc1 * frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
from mips-tdep.c.
	(frv_analyze_prologue): Rework to account for intermixed prologue /
	body instructions.
2003-12-19 00:34:26 +00:00
gdbadmin a53cf7226d *** empty log message *** 2003-12-19 00:00:01 +00:00