OSDN Git Service
bonzini [Tue, 28 Dec 2004 17:39:41 +0000 (17:39 +0000)]
2004-12-28 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include. BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.
jimb [Tue, 28 Dec 2004 09:06:06 +0000 (09:06 +0000)]
* remote.c (fetch_register_using_p): Recognize a register value
starting with 'x' as indicating an unfetchable register.
cgf [Tue, 28 Dec 2004 06:07:44 +0000 (06:07 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): DUPLICATE_CLOSE_SOURCE closes the handle
regardless, so revert previous change.
cgf [Tue, 28 Dec 2004 01:27:26 +0000 (01:27 +0000)]
* cygthread.cc (cygthread::stub): Add better debug output.
(cygthread::cygthread): Ditto.
(cygthread::terminate_thread): Ditto. Move inuse test earlier or suffer
infinite loop.
* pinfo.cc (_pinfo::dup_proc_pipe): Close handle if DuplicateHandle fails and
process no longer exists.
* spawn.cc (spawn_guts): Create process in suspended state if OS demands it.
* wincap.cc: Add "start_proc_suspended" throughout.
* wincap.h (wincaps): Ditto.
(wincapc): Ditto.
gdbadmin [Tue, 28 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 27 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
dj [Mon, 27 Dec 2004 21:41:04 +0000 (21:41 +0000)]
Revert 2004-12-08 Makefile changes.
dj [Mon, 27 Dec 2004 21:39:28 +0000 (21:39 +0000)]
merge from gcc
hjl [Mon, 27 Dec 2004 19:08:30 +0000 (19:08 +0000)]
2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (read_leb128): Support 64bit host.
joshuadfranklin [Mon, 27 Dec 2004 19:03:56 +0000 (19:03 +0000)]
Update Makefile to use xmlto
cgf [Mon, 27 Dec 2004 17:19:25 +0000 (17:19 +0000)]
* pinfo.cc (_pinfo::exit): Beef up debugging output.
* sigproc.cc (proc_subproc): Detached children apparently need a ppid of 1.
kettenis [Mon, 27 Dec 2004 15:08:13 +0000 (15:08 +0000)]
* config/mips/obsd64.mh (NATDEPFILES): Unwrap line.
kettenis [Mon, 27 Dec 2004 15:07:58 +0000 (15:07 +0000)]
* config/mips/obsd64.mh (NATDEPFILES): Unwrap line.
cgf [Mon, 27 Dec 2004 02:13:29 +0000 (02:13 +0000)]
* init.cc (dll_entry): Previous code reversion was ill-advised. Revert it.
* sigproc.cc (child_info::sync): Ditto.
* pinfo.cc (_pinfo::exit): Don't set myself.procinfo to NULL since it is no
longer required.
cgf [Mon, 27 Dec 2004 00:35:18 +0000 (00:35 +0000)]
* init.cc (dll_entry): Remove exit code setting.
* pinfo.cc (pinfo::init): Initialize exitcode to unset state rather than
SIGTERM.
(proc_waiter): Detect if exit code is unset and use status from
GetExitCodeProcess.
* sigproc.cc (child_info::sync): Remove exit code detection here since
proc_waiter now (again) detects it.
gdbadmin [Mon, 27 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sun, 26 Dec 2004 23:24:25 +0000 (23:24 +0000)]
* inftarg.c (child_xfer_partial): Remove code that handles
TARGET_OBJ_WCOOKIE.
amodra [Sun, 26 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sun, 26 Dec 2004 02:10:28 +0000 (02:10 +0000)]
* fhandler.cc (fhandler_base::fchmod): Do the right thing when changing an "on
disk" device or fifo.
(fhandler_base::fchown): Ditto for changing ownership.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate device files
on ntfs partitions.
* path.cc (path_conv::check): Use isfs function to figure out if a path exists
on a filesystem to make sure that device files are caught.
gdbadmin [Sun, 26 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Sat, 25 Dec 2004 23:56:18 +0000 (23:56 +0000)]
* mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
ctanf.c ctanhf.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS(: Adjust.
* include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
Declare.
amodra [Sat, 25 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
marekm [Sat, 25 Dec 2004 20:34:23 +0000 (20:34 +0000)]
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
kettenis [Sat, 25 Dec 2004 12:31:31 +0000 (12:31 +0000)]
* inftarg.c (child_create_inferior) [HPUXHPPA]: Remove code.
kettenis [Sat, 25 Dec 2004 10:19:47 +0000 (10:19 +0000)]
* gdbint.texinfo (Algorithms): Remove description of
TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS.
gdbadmin [Sat, 25 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 24 Dec 2004 23:00:08 +0000 (23:00 +0000)]
daily update
kettenis [Fri, 24 Dec 2004 22:53:56 +0000 (22:53 +0000)]
* target.h (TARGET_DISABLE_HW_WATCHPOINTS)
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros.
* infrun.c (struct execution_control_state): Remove
enable_hw_watchpoints_after_wait member.
(number_of_threads_in_syscalls): Remove variable.
(init_wait_for_inferior): Don't initialize
number_of_threads_in_syscalls.
(init_execution_control_state): Don't initialize
ECS->enable_hw_watchpoints_after_wait.
(handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS
or TARGET_DISABLE_HW_WATCHPOINTS.
joshuadfranklin [Fri, 24 Dec 2004 21:58:38 +0000 (21:58 +0000)]
* .sgml: Cleanup markup for XML validity.
cgf [Fri, 24 Dec 2004 18:31:22 +0000 (18:31 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
(child_info::parent_wr_proc_pipe): Eliminate.
* pinfo.h (_pinfo::alert_parent): Move here from pinfo class.
(_pinfo::dup_proc_pipe): New method.
(_pinfo::sync_proc_pipe): Ditto.
* exceptions.cc (sig_handle_tty_stop): Reflect move of alert_parent.
* init.cc (dll_entry): Exit with status one if main process called ExitProcess.
* pinfo.cc (set_myself): Remove handling of parent_wr_proc_pipe.
(_pinfo::exit): Reflect move of alert_parent. Set procinfo to NULL to flag
that we are exiting normally. Always use exitcode when exiting
(although this could be a little racy).
(pinfo::init): Set default exit to SIGTERM. This will be the exit code
reported if process is terminated.
(_pinfo::dup_proc_pipe): New function.
(pinfo::wait): Duplicate wr_proc_pipe to the right place. Use dup_proc_pipe to
move the pipe to the child.
(_pinfo::sync_proc_pipe): New function.
(_pinfo::alert_parent): Move to _pinfo. Make sure that wr_proc_pipe is ours
before using it.
* sigproc.cc (child_info::child_info): Remove handling of parent_wr_proc_pipe.
* spawn.cc (spawn_guts): Pass our wr_proc_pipe to the child when execing.
Ensure that exit code of cygwin process started from windows is correctly set.
kettenis [Fri, 24 Dec 2004 14:45:31 +0000 (14:45 +0000)]
* i386-tdep.h (i386_collect_gregset): New prototype.
* i386-nto-tdep.c (i386_nto_target): Move variable. Add comment.
(i386nto_gregset_reg_offset): Rename frame regmap.
(nto_reg_offset): Tweak comment. Use ARRAY_SIZE.
(i386nto_supply_gregset): Implement using register set support.
(i386nto_supply_regset): Remove redundant comment.
(i386nto_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.
* nto-tdep.c (fetch_core_registers): Remove function.
(regset_core_fns): Remove structure.
(_initialize_nto_tdep): Don't call deprecated_add_core_fns.
dannysmith [Fri, 24 Dec 2004 11:14:33 +0000 (11:14 +0000)]
2004-12-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shldisp.h: New file.
* include/shlobj.h (IObjMgr): Added interface definiton.
* lib/shell32.c (CLSID_AutoComplete, IID_AutoComplete,
IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr,
CLSID_ACListISF, IID_IACList): Added GUIDs.
* include/shlguid.h (CLSID_AutoComplete, IID_AutoComplete,
IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr,
CLSID_ACListISF, IID_IACList): Added GUIDs.
gdbadmin [Fri, 24 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 23 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
kettenis [Thu, 23 Dec 2004 22:34:20 +0000 (22:34 +0000)]
* i386-nto-tdep.c: Reorder include files.
(i386nto_svr4_fetch_link_map_offsets): Remove function.
(init_i386nto_ops, i386nto_init_abi): Use
svr4_ilp32_fetch_link_map_offsets instead of
i386nto_svr4_fetch_link_map_offsets.
cgf [Thu, 23 Dec 2004 21:37:42 +0000 (21:37 +0000)]
* path.h (path_conv::set_normalized_path): Add second argument and fill it in
throughout.
* path.cc (path_conv::check): Declare, set and use "strip_tail".
(path_conv::set_normalized_path): Add and use second argument, replacing all
tail stripping tests.
cgf [Thu, 23 Dec 2004 15:36:58 +0000 (15:36 +0000)]
* cygthread.cc (cygthread::cygthread): Guard debugging variable with "ifdef
DEBUGGING".
(cygthread::release): Ditto.
cgf [Thu, 23 Dec 2004 15:26:36 +0000 (15:26 +0000)]
* path.cc (path_conv::check): Don't strip the trailing slash from a path
consisting only of two slashes.
cgf [Thu, 23 Dec 2004 14:57:06 +0000 (14:57 +0000)]
* cygthread.cc (cygthread::stub): Detect if thread function wants to release
itself here, to avoid a race.
(cygthread::release): Clear more stuff. Add a diagnostic for an internal
error.
* cygthread.h (auto_release): New function.
* pinfo.h (pinfo::remember): Add an argument to denote whether child is
detached.
* fork.cc (fork_parent): Reflect change in arguments to pinfo::remember.
* pinfo.cc (_pinfo::exit): Signal exit more forcibly.
(proc_waiter): Use cygthread::auto_release to signify that cygthread::stub
should release the thread. This should avoid a race.
(pinfo::alert_parent): Don't signify an error when wr_proc_pipe == NULL.
* sigproc.cc (proc_subproc): Add support for PROC_DETACHED_CHILD.
* sigproc.h: Ditto.
* spawn.cc (spawn_guts): Specify whether child is detached or not when calling
pinfo::remember.
tomerl [Thu, 23 Dec 2004 13:52:11 +0000 (13:52 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c: Mark 'bcop' instruction as RELAXABLE.
tomerl [Thu, 23 Dec 2004 13:51:25 +0000 (13:51 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c: Mark 'bcop' instruction as RELAXABLE.
tomerl [Thu, 23 Dec 2004 13:50:36 +0000 (13:50 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
tomerl [Thu, 23 Dec 2004 13:49:14 +0000 (13:49 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
tomerl [Thu, 23 Dec 2004 13:48:25 +0000 (13:48 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
tomerl [Thu, 23 Dec 2004 13:47:31 +0000 (13:47 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
nickc [Thu, 23 Dec 2004 12:27:44 +0000 (12:27 +0000)]
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.
dannysmith [Thu, 23 Dec 2004 08:13:48 +0000 (08:13 +0000)]
* include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
Thanks to: Chris Sutcliffe <ironhead@walled.net>
(CDRF_*): Use hex notation for constants.
gdbadmin [Thu, 23 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 22 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Wed, 22 Dec 2004 18:12:28 +0000 (18:12 +0000)]
* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failing
MapViewOfFileEx.
* cygthread.cc (cygthread::stub): Previous change to make diagnostic output
more informative was really a bust. Try again. Capture previous name in a new
field in cygthread for diagnostic purposes.
(cygthread::cygthread): Ditto.
(cygthread::release): Add an argument to control whether h should be cleared or
not.
(cygthread::terminate_thread): Use 'inuse' for tests rather than 'h'.
(cygthread): Add some diagnostic fields.
(cygthread::release): Add an argument.
* pinfo.cc (proc_waiter): Accommodate change to cygthread::release.
cgf [Wed, 22 Dec 2004 17:10:19 +0000 (17:10 +0000)]
* cygthread.cc (cygthread::stub): Make diagnostic output more informative.
cgf [Wed, 22 Dec 2004 16:59:03 +0000 (16:59 +0000)]
* pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with process
termination.
* cygthread.cc (cygthread::terminate): Clumsily detect when h has gone away and
attempt no further action.
cgf [Wed, 22 Dec 2004 16:19:24 +0000 (16:19 +0000)]
* cygthread.h (cygthread::release): Just declare here.
* cygthread.cc (cygthread::release): Define here. Use InterlockedExchange to
set inuse or suffer potential races.
(cygthread::terminate): Use release().
ian [Wed, 22 Dec 2004 15:29:21 +0000 (15:29 +0000)]
* configure.tgt: New.
* configure.in: Move setting of cpu_type, fmt, etc., to
configure.tgt.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/configure.tgt.
* configure, Makefile.in: Rebuild.
kewarken [Wed, 22 Dec 2004 14:43:44 +0000 (14:43 +0000)]
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Add 'base' argument for constructing register sections. Reformat.
(elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both
gp and fp regs. Reformat.
nickc [Wed, 22 Dec 2004 14:25:37 +0000 (14:25 +0000)]
Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
LDI, ADIW/SBIW and LDD/STD instructions.
corinna [Wed, 22 Dec 2004 11:35:23 +0000 (11:35 +0000)]
* fhandler_process.cpp (format_process_status): Use tabs in formatting
instead of spaces.
corinna [Wed, 22 Dec 2004 11:31:28 +0000 (11:31 +0000)]
* path.cc (set_normalized_path): Allow empty pathnames.
nickc [Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)]
readelf.c (last_pointer_size, warned_about_missing_comp_units):
New variables associated with obtaining the pointer size for a comp_unit.
(get_pointer_size_of_comp_unit): Add an extra parameter - the name of the
section requesting the pointer size. Use this name in error messages. If
there are not enough comp_units available produce a warning message, but
return the last known pointer size so that section dumping can continue.
(get_debug_info): Reset the new variables.
(display_debug_lines): Add extra parameter to invocation of
get_pointer_size_of_comp_unit and remove error message when it returns 0.
(display_debug_loc): Likewise.
tomerl [Wed, 22 Dec 2004 08:14:38 +0000 (08:14 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* ld-crx/reloc-abs32.d: Update reference file according
to disassembler printing method.
* ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.
amodra [Wed, 22 Dec 2004 03:59:25 +0000 (03:59 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
as-needed dynamic libs as undefined.
(elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed
libs when finding they are needed.
gdbadmin [Wed, 22 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 21 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
kettenis [Tue, 21 Dec 2004 22:50:48 +0000 (22:50 +0000)]
* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.
kettenis [Tue, 21 Dec 2004 22:06:33 +0000 (22:06 +0000)]
* hppa-tdep.c (hppa64_return_value): Fix previous commit.
kettenis [Tue, 21 Dec 2004 21:36:20 +0000 (21:36 +0000)]
* hppa-tdep.c (hppa32_return_value): Move further down.
(hppa64_return_value): Re-implement.
jimb [Tue, 21 Dec 2004 21:24:53 +0000 (21:24 +0000)]
* remote.c (fetch_register_using_p): Fix formatting.
cgf [Tue, 21 Dec 2004 18:45:01 +0000 (18:45 +0000)]
* spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed process.
tomerl [Tue, 21 Dec 2004 16:28:40 +0000 (16:28 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* ld-crx/reloc-abs32.d: Update reference file according to disassembler printing method.
* ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.
tomerl [Tue, 21 Dec 2004 16:26:54 +0000 (16:26 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/beq_insn.d: Update reference file according to
disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
tomerl [Tue, 21 Dec 2004 16:25:05 +0000 (16:25 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/beq_insn.d: Update reference file according to disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
hp [Tue, 21 Dec 2004 13:09:50 +0000 (13:09 +0000)]
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.
hilfingr [Tue, 21 Dec 2004 10:03:52 +0000 (10:03 +0000)]
* ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code
output.
* ada-typeprint.c (ada_typedef_print): Ditto.
(print_unchecked_union_type): Ditto.
(print_record_type): Ditto, and correct output for non-derived
types that was inadvertently left off during the markup.
hp [Tue, 21 Dec 2004 04:37:58 +0000 (04:37 +0000)]
* cris.cpu (cris-set-mem): Correct integral write semantics.
gdbadmin [Tue, 21 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 20 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
ian [Mon, 20 Dec 2004 21:22:33 +0000 (21:22 +0000)]
* Makefile.am: Use $(SHELL) whenever we run move-if-change.
* Makefile.in: Rebuild.
cgf [Mon, 20 Dec 2004 17:55:21 +0000 (17:55 +0000)]
* path.cc (normalize_win32_path): Remove unneeded check for dots.
cgf [Mon, 20 Dec 2004 16:31:16 +0000 (16:31 +0000)]
* path.cc (normalize_posix_path): Remove unneeded check for dots.
(path_conv::set_normalized_path): Strip trailing dots, similarly to what had
previously been done for the win32 path.
nickc [Mon, 20 Dec 2004 15:35:51 +0000 (15:35 +0000)]
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
nickc [Mon, 20 Dec 2004 15:16:05 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.
dj [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc
dj [Mon, 20 Dec 2004 04:20:33 +0000 (04:20 +0000)]
merge from gcc
dannysmith [Mon, 20 Dec 2004 00:03:04 +0000 (00:03 +0000)]
* include/wchar.h (wcsdup): Correct prototype.
* include/string.h (wcsdup): Correct prototype.
gdbadmin [Mon, 20 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 19 Dec 2004 23:24:45 +0000 (23:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done. Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.
amodra [Sun, 19 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 19 Dec 2004 22:09:22 +0000 (22:09 +0000)]
* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check
whether the name returned by find_pc_partial_function is a null
pointer, not whether it is an empty string.
kettenis [Sun, 19 Dec 2004 21:09:37 +0000 (21:09 +0000)]
* hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,
HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM.
* hppa-tdep.c (hppa64_integral_or_pointer_p)
(hppa64_floating_p) New functions.
(hppa64_push_dummy_call): Re-implement.
(hppa32_register_type): Rename argument reg_nr to regnum.
(hppa64_register_type): Likewise. Use HPPA64_FP4_REGNUM instead
of HPPA_FP4_REGNUM.
(hppa32_cannot_store_register): Renamed from
hppa_cannot_store_register.
(hppa64_cannot_store_register): New function.
(hppa_gdbarch_init): Set cannot_store_register and
cannot_fetch_register to hppa32_cannot_store_register or
hppa64_cannot_store_register when appropriate.
cgf [Sun, 19 Dec 2004 03:27:08 +0000 (03:27 +0000)]
* path.cc (normalize_win32_path): Make third arg pass-by reference. Reorganize
slightly to eliminate extra variables.
(normalize_posix_path): Ditto.
(path_conv::check): Reflect change in arguments.
(mount_info::conv_to_posix_path): Ditto.
(mount_info::add_item): Ditto.
cgf [Sun, 19 Dec 2004 02:40:40 +0000 (02:40 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Use updated value.
* path.cc (path_conv::check): Check the output Win32 path for trailing spaces
and dots, not the input path. Disallow all use of foo./bar since consistently
getting this right is time consuming. Remove strange test for "unc\" since no
one seems to know what it's for.
gdbadmin [Sun, 19 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 18 Dec 2004 23:00:11 +0000 (23:00 +0000)]
daily update
kettenis [Sat, 18 Dec 2004 17:36:32 +0000 (17:36 +0000)]
* hppah-nat.c: Remove file.
* infttrace.h: Remove file.
* infttrace.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove hppah-nat.c
(infttrace_h): Remove variable.
(hppah-nat.o, infttrace.o): Remove dependencies.
* configure.host (hppa*64*-*-hpux11*): Remove.
* config/pa/hpux11w.mh: Remove file.
* config/pa/nm-hppah.h: Remove file.
* config/pa/nm-hppah11.h: Remove file.
dj [Sat, 18 Dec 2004 17:19:27 +0000 (17:19 +0000)]
merge from gcc
hjl [Sat, 18 Dec 2004 16:46:01 +0000 (16:46 +0000)]
2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".
* aclocal.m4: Include ../libtool.m4.
* config.table: Don't check --enable-shared.
* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.
* maint-tool: Updated for .lo/libtool.
cgf [Sat, 18 Dec 2004 16:41:27 +0000 (16:41 +0000)]
revert erroneous checkin
cgf [Sat, 18 Dec 2004 16:37:43 +0000 (16:37 +0000)]
* fhandler_proc.cc (proc_listing): Add entry for "self".
(proc_fhandlers): Add entry for "self".
* fhandler_process.cc (fhandler_process::fstate): Handle "self".
(fhandler_process::open): Handle "self".
kettenis [Sat, 18 Dec 2004 14:53:37 +0000 (14:53 +0000)]
* config/djgpp/fnchange.lst: Resolve name clash between
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and
i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c,
testsuite/gdb.base/bitfields.c and
testsuite/gdb.base/bitfields2.c, testsuite/gdb.base/bitfields.exp
and testsuite/gdb.base/bitfields2.exp. Remove entry for
config/m88k/xm-delta88v4.h.
kettenis [Sat, 18 Dec 2004 14:27:57 +0000 (14:27 +0000)]
* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
PA_SOM_ONLY isn't defined.