Commit Graph

42202 Commits

Author SHA1 Message Date
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
Alan Modra
8546c41c26 daily update 2003-12-29 23:00:05 +00:00
Mark Mitchell
a4c9740c82 * armos.c (fcntl.h): Do not include it.
(O_RDONLY): Do not define.
	(O_WRONLY): Likewise.
	(O_RDWR): Likewise.
	(targ-vals.h): Include it.
	(translate_open_mode): Use TARGET_O_* instead of O_*.
	(SWIopen): Likewise.
	* Makefile.in (armos.o): Depend on targ-vals.h.
2003-12-29 19:52:57 +00:00
Paul Brook
7de9afa224 * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
* gas/doc/c-arm.texi: Document them.
2003-12-29 16:43:37 +00:00
Nick Clifton
0e0c409874 Update pointer_size patch 2003-12-29 14:22:07 +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
Alan Modra
79ae9fdd9c daily update 2003-12-28 23:00:05 +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
Alan Modra
678f5623fd daily update 2003-12-27 23:00:05 +00:00
gdbadmin
1b0c858ffa *** empty log message *** 2003-12-27 00:00:32 +00:00
Alan Modra
d723232654 daily update 2003-12-26 23:00:07 +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
DJ Delorie
2f9c405836 merge from gcc 2003-12-26 16:27:37 +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
Alan Modra
c08c023bab daily update 2003-12-25 23:00:06 +00:00
gdbadmin
3acdd7e208 *** empty log message *** 2003-12-25 00:00:31 +00:00
Alan Modra
faa0c22979 daily update 2003-12-24 23:00:05 +00:00
gdbadmin
eb4dbeda06 *** empty log message *** 2003-12-24 00:00:02 +00:00
Alan Modra
a1512051a0 daily update 2003-12-23 23:00:04 +00:00
Paul Brook
c5f9820468 * doc/c-arm.texi: Document -march=armv6. 2003-12-23 18:48:02 +00:00
Paul Brook
84255574d4 * config/tc-arm.c (arm_archs): Add armv6. 2003-12-23 18:41:58 +00:00
Maciej W. Rozycki
4087920c2b * objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
to handle flags for tweaking.
(copy_options): New options: impure, pure, readonly-text,
writable-text.
(copy_usage, copy_object, command_line_switch): Handle the new
options.
* doc/binutils.texi: Document the new options.
2003-12-23 13:01:11 +00:00
gdbadmin
231bc717e9 *** empty log message *** 2003-12-23 00:00:02 +00:00
Alan Modra
d1b866b239 daily update 2003-12-22 23:00:04 +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
Daniel Jacobowitz
4fd47f10ae * Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
	its macros locally.
2003-12-22 19:22:57 +00:00
DJ Delorie
b6fb00c07b merge from gcc 2003-12-22 16:03:32 +00:00
Jakub Jelinek
68b3b8dc9e * objdump.c (disassemble_bytes): Subtract rel_offset from printed
reloc address.
	(disassemble_section): Set rel_offset to section->vma instead of
	pinfo->buffer_vma.
2003-12-22 10:49:59 +00:00
Nick Clifton
ad50f575f3 Fix tests to eliminated unexpected failures 2003-12-22 09:01:48 +00:00
Nick Clifton
46797b779b For v6 tests use -march=armv6j 2003-12-22 08:43:41 +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
DJ Delorie
c196818164 * configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
* configure: Regenerated.
2003-12-22 00:59:55 +00:00
gdbadmin
7d0c64e53f *** empty log message *** 2003-12-22 00:00:31 +00:00
Alan Modra
7bf5c88cf2 daily update 2003-12-21 23:00:04 +00:00
gdbadmin
f65333104b *** empty log message *** 2003-12-21 00:00:01 +00:00
Alan Modra
aedd317cf6 daily update 2003-12-20 23:00:05 +00:00
DJ Delorie
2730f65149 merge from gcc 2003-12-20 16:06:10 +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