OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago2004-02-25 Roland McGrath <roland@redhat.com>
roland [Wed, 25 Feb 2004 19:35:30 +0000 (19:35 +0000)]
2004-02-25  Roland McGrath  <roland@redhat.com>

* gdb.texinfo (General Query Packets): Document qPart:... packets.

20 years ago* config/i386/tm-x86-64linux.h: Tweak comments.
kettenis [Wed, 25 Feb 2004 19:27:37 +0000 (19:27 +0000)]
* config/i386/tm-x86-64linux.h: Tweak comments.

20 years agoFix date in last commit...sigh.
rsandifo [Wed, 25 Feb 2004 18:48:22 +0000 (18:48 +0000)]
Fix date in last commit...sigh.

20 years ago * MAINTAINERS: Add self to write-after-approval list.
rsandifo [Wed, 25 Feb 2004 18:48:03 +0000 (18:48 +0000)]
* MAINTAINERS: Add self to write-after-approval list.

20 years ago2004-02-25 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 25 Feb 2004 15:57:37 +0000 (15:57 +0000)]
2004-02-25  Andrew Cagney  <cagney@redhat.com>

PR cli/1566.  Problem found, and fix suggested by David Allan.
* cli/cli-script.c (execute_control_command): Unconditionally
install a cleanup.  Default "ret" to "invalid_control".  Use
"break" instead of "return" to escape from the switch.

20 years ago * miscfuncs.cc (check_invalid_virtual_addr): New function.
corinna [Wed, 25 Feb 2004 10:54:31 +0000 (10:54 +0000)]
* miscfuncs.cc (check_invalid_virtual_addr): New function.
* winsup.h (check_invalid_virtual_addr): Declare.
* mmap.cc (munmap): Call check_invalid_virtual_addr instead of
IsBadReadPtr.

20 years agoAdd self.
rsandifo [Wed, 25 Feb 2004 08:46:59 +0000 (08:46 +0000)]
Add self.

20 years agomerge from gcc
dj [Wed, 25 Feb 2004 05:40:01 +0000 (05:40 +0000)]
merge from gcc

20 years ago* gendef (stabilize_sig_stack): Correctly align this pointer for call to
cgf [Wed, 25 Feb 2004 04:08:00 +0000 (04:08 +0000)]
* gendef (stabilize_sig_stack): Correctly align this pointer for call to
_cygtls::call_signal_handler.
* gentls_offsets: Output sizeof field.
* tlsoffsets.h: Regenerate.

20 years agomerge from gcc
dj [Wed, 25 Feb 2004 02:04:30 +0000 (02:04 +0000)]
merge from gcc

20 years ago* cygpath.cc (long_options): Add "mode" option.
cgf [Wed, 25 Feb 2004 01:23:20 +0000 (01:23 +0000)]
* cygpath.cc (long_options): Add "mode" option.
(options): Ditto.
(usage): Report on new option.
(report_mode): New function.
(main): Implement -M option.

20 years ago* dcrt0.cc (_dll_crt0): Don't check sync_startup if threadfunc_ix is set.
cgf [Wed, 25 Feb 2004 01:19:13 +0000 (01:19 +0000)]
* dcrt0.cc (_dll_crt0): Don't check sync_startup if threadfunc_ix is set.
* external.cc (cygwin_internal): Implement CW_GET_BINMODE.
* include/sys/cygwin.h: Declare CW_GET_BINMODE.

20 years ago * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
brobecke [Wed, 25 Feb 2004 01:10:01 +0000 (01:10 +0000)]
    * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
        with the lines macro defined in term.h on AiX.
        * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
        a collision with the label_width macro defined in term.h on AiX.

20 years ago*** empty log message ***
gdbadmin [Wed, 25 Feb 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Tue, 24 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-24 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 24 Feb 2004 22:58:04 +0000 (22:58 +0000)]
2004-02-24  Andrew Cagney  <cagney@redhat.com>

* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
mmapped data in core file" PASS and FAIL messages consistent.

20 years agoRemove merge conflict characters.
kevinb [Tue, 24 Feb 2004 22:35:44 +0000 (22:35 +0000)]
Remove merge conflict characters.

20 years ago2004-02-23 David Mosberger <davidm@hpl.hp.com>
kevinb [Tue, 24 Feb 2004 22:34:59 +0000 (22:34 +0000)]
2004-02-23  David Mosberger  <davidm@hpl.hp.com>

Committed by Kevin Buettner <kevinb@redhat.com>.

* ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
* ia64-tdep.c (ia64_write_pc): Make it a global function.
(ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
instead of ia64_write_pc().
* ia64-linux-tdep.c (regcache.h): Include.
(ia64_linux_write_pc): New function.

20 years ago* dcrt0.cc (_dll_crt0): Add some stern internal errors.
cgf [Tue, 24 Feb 2004 17:13:15 +0000 (17:13 +0000)]
* dcrt0.cc (_dll_crt0): Add some stern internal errors.

20 years ago* ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that
aoliva [Tue, 24 Feb 2004 16:39:09 +0000 (16:39 +0000)]
* ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that
bind locally.
* ld-frv/fdpic-pie-8.d: Likewise.
* ld-frv/fdpic-shared-4.d: Likewise.
* ld-frv/fdpic-pie-6-fail.d: Renamed from...
* ld-frv/fdpic-pie-6.d: New test.
* ld-frv/fdpic-shared-6-fail.d: Renamed from...
* ld-frv/fdpic-shared-6.d: New test.
* ld-frv/fdpic6.ldv: New.
* ld-frv/fdpic-static-6.d: Adjust test name.
* ld-frv/fdpic-pie-8-fail.d: Removed.
* ld-frv/fdpic.exp: Run new tests.

20 years ago* elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
aoliva [Tue, 24 Feb 2004 16:39:00 +0000 (16:39 +0000)]
* elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
(_frv_emit_got_relocs_plt_entries): Decay relocation to protected
function's descriptor to symbol+offset, and map local undefweak
symbol to NULL function descriptor.
(elf32_frv_relocate_section): Likewise.

20 years agomerge from gcc
dj [Tue, 24 Feb 2004 16:30:50 +0000 (16:30 +0000)]
merge from gcc

20 years agomerge from gcc
dj [Tue, 24 Feb 2004 16:30:39 +0000 (16:30 +0000)]
merge from gcc

20 years agomerge from gcc
dj [Tue, 24 Feb 2004 16:30:27 +0000 (16:30 +0000)]
merge from gcc

20 years ago2004-02-24 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 24 Feb 2004 16:09:48 +0000 (16:09 +0000)]
2004-02-24  Andrew Cagney  <cagney@redhat.com>

* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
setting a breakpoint.  Work around PR java/1565.

20 years ago2004-02-24 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 24 Feb 2004 15:41:28 +0000 (15:41 +0000)]
2004-02-24  Andrew Cagney  <cagney@redhat.com>

* annotate.texinfo: Wrap fdl.texi include in raise/lower sections.
* gdb.texinfo, gdbint.texinfo, stabs.texinfo: Ditto.
* fdl.texi: Import Version 1.2, November 2002.

20 years ago * thread.cc (pthread::cancelable_wait): Rearrange slightly.
corinna [Tue, 24 Feb 2004 11:33:14 +0000 (11:33 +0000)]
* thread.cc (pthread::cancelable_wait): Rearrange slightly.
Add do_sig_wait parameter.  Wait for signal_arrived if set to true.
Return WAIT_SIGNALED if signal arrived.
(pthread_cond::wait): Accomodate change to pthread::cancelable_wait.
(pthread::join): Ditto.
(semaphore::_timedwait): Ditto.
(semaphore::_wait): Ditto.  Change to return int to allow status
feedback.
(semaphore::wait): Return return value from semaphore::_wait.
* thread.h (WAIT_SIGNALED): New definition.
(pthread::cancelable_wait): Change declaration.  Define do_sig_wait
as false by default to not interfere with existing calls accidentally.
(semaphore::_wait): Declare int.

20 years ago.
roland [Tue, 24 Feb 2004 01:00:50 +0000 (01:00 +0000)]
.

20 years ago2004-02-23 Roland McGrath <roland@redhat.com>
roland [Tue, 24 Feb 2004 01:00:30 +0000 (01:00 +0000)]
2004-02-23  Roland McGrath  <roland@redhat.com>

* auxv.c (info_auxv_command): Fix typos in error messages.

20 years ago*** empty log message ***
gdbadmin [Tue, 24 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Mon, 23 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* x86-64-tdep.h: Tewak comment.
kettenis [Mon, 23 Feb 2004 21:37:49 +0000 (21:37 +0000)]
* x86-64-tdep.h: Tewak comment.
(enum amd64_regnum): New.
(X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
(X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
(X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
(X86_64_XMM1_REGNUM): Removed.
(AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
(amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
prototypes for renamed functions.
* x86-64-tdep.c: Fix typo.
(amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
register numbers.
(amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
Use constants from `enum amd64_regnum' for register numbers.
(AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
(amd64_analyze_prologue, amd64_frame_cache,
amd64_sigtramp_frame_cache): Use constants from `enum
amd64_regnum' for register numbers.
(amd64_supply_fpregset): Adjust for renamed functions.
(amd64_init_abi): Rename from x86_64_init_abi.  Use constants from
`enum amd64_regnum' for register numbers.
(I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
(amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
(amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
* x86-64-linux-tdep.c (amd64_linux_supply_gregset)
(amd64_linux_fill_gregset): Adjust for renamed macros.
(fetch_core_registers): Adjust for renamed functions.
(amd64_linux_init_abi): Adjust for renamed functions.
* x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
renamed functions.
* amd64-nat.c: Adjust for renamed macros.
* amd64bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Use constants from `enum amd64_regnum'
for register numbers.  Adjust for renamed variables.
* amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
renamed variables.
(_initialize_amd64fbsd_nat): Use constants from `enum
amd64_regnum' for register numbers.
* amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
`enum amd64_regnum' for register numbers.
(amd64fbsd_init_abi): Adjust for renamed functions.
* amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
`enum amd64_regnum' for register numbers.
(amd64nbsd_init_abi): Adjust for renamed functions.
(_initialize_amd64nbsd_ndep): Adjust for renamed macros.
* amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
`enum amd64_regnum' for register numbers.
(amd64obsd_init_abi): Adjust for renamed functions.
(_initialize_amd64obsd_ndep): Adjust for renamed macros.

20 years ago2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 23 Feb 2004 20:30:15 +0000 (20:30 +0000)]
2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * breakpoint.c (print_one_breakpoint): Do not output spaces
        after printing <PENDING> for a pending breakpoint.

20 years ago2004-02-23 Dave Brolley <brolley@redhat.com>
brolley [Mon, 23 Feb 2004 20:08:53 +0000 (20:08 +0000)]
2004-02-23  Dave Brolley  <brolley@redhat.com>

        * elfload.c (readElfFile): Get address from offset 16 for 64 bit and
        offset 12 for 16 bit.

20 years ago * ldlang.c (lang_check): Use %P, not %E, in error message.
ian [Mon, 23 Feb 2004 19:41:53 +0000 (19:41 +0000)]
* ldlang.c (lang_check): Use %P, not %E, in error message.

20 years ago2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 23 Feb 2004 19:41:45 +0000 (19:41 +0000)]
2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * printcmd.c (print_scalar_formatted): Initialize val_long
        to remove compiler warning message.

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Feb 2004 19:37:47 +0000 (19:37 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Update from version 2003-02-03.16 to
2004-02-19.09.

20 years ago2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 23 Feb 2004 19:27:45 +0000 (19:27 +0000)]
2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * lib/gdb.exp (gdb_breakpoint): Update query string to match
        new nquery format.
        * gdb.base/pending.exp: Ditto.

20 years agoRemove conflict indicators.
jjohnstn [Mon, 23 Feb 2004 19:26:45 +0000 (19:26 +0000)]
Remove conflict indicators.

20 years ago2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 23 Feb 2004 19:26:13 +0000 (19:26 +0000)]
2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * defs.h (nquery, yquery): New prototypes.
        * breakpoint.c (break_command_1): Use new nquery interface.
        * utils.c (defaulted_query, nquery, yquery): New functions.

20 years agoApply m32r patches from Renesas
nickc [Mon, 23 Feb 2004 16:46:46 +0000 (16:46 +0000)]
Apply m32r patches from Renesas

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Feb 2004 16:35:53 +0000 (16:35 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_frame_align): New function.
(hppa32_push_dummy_call): New function.
(hppa64_push_dummy_call): New function.
(hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
disabled.

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Feb 2004 16:27:39 +0000 (16:27 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (legacy_push_dummy_code): Don't call deprecated
FIX_CALL_DUMMY when push_dummy_call is available.
(call_function_by_hand, push_dummy_code): Ditto.

20 years agoMissed adding ChangeLog entry and updating copyright year in a previous
fnf [Mon, 23 Feb 2004 16:18:07 +0000 (16:18 +0000)]
Missed adding ChangeLog entry and updating copyright year in a previous
check in of callfuncs.exp.

2004-02-20  Fred Fish  <fnf@redhat.com>
* gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
blank in test for "returns short", for consistency with other
"returns xxx" tests.  Update copyright year.

20 years agoAdd support for 64bit NETBSD cores
nickc [Mon, 23 Feb 2004 15:25:20 +0000 (15:25 +0000)]
Add support for 64bit NETBSD cores

20 years ago * ldlang.h (struct lang_output_section_state): Change processed
nathan [Mon, 23 Feb 2004 10:10:01 +0000 (10:10 +0000)]
* ldlang.h (struct lang_output_section_state): Change processed
field's type.
* ldexp.c (check, invalid): Remove.
(fold_name): Move valid_p assignments. Create undefined symbol
when needed. Directly exampine section's processd flag.
* ldlang.c (lang_output_section_statement_lookup): Adjust
processed field init.
(lang_size_sections_1): Allow LOADADDR when determining section's
VMA. Adjust error message. Fold data statement's expr.
(lang_size_sections): Correctly increment lang_statement_iteration.

* ld-scripts/provide.exp: New.
* ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New.

* ldexp.c (fold_tree): Follow indirect symbols.

20 years ago * ld-scripts/data.t: Set ".other" address so location doesn't
amodra [Mon, 23 Feb 2004 09:24:46 +0000 (09:24 +0000)]
* ld-scripts/data.t: Set ".other" address so location doesn't
depend on target alignment.
* ld-scripts/data.d: Update.

20 years ago * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
jakub [Mon, 23 Feb 2004 09:01:58 +0000 (09:01 +0000)]
* elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.

20 years ago(process_mips_specific): Print conflictsno as an unsigned long.
nickc [Mon, 23 Feb 2004 08:45:05 +0000 (08:45 +0000)]
(process_mips_specific): Print conflictsno as an unsigned long.

20 years ago2004-02-23 Filip Navara <xnavara@volny.cz>
dannysmith [Mon, 23 Feb 2004 05:53:38 +0000 (05:53 +0000)]
2004-02-23  Filip Navara  <xnavara@volny.cz>

* include/ddk/video.h: Corrected packing.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Feb 2004 00:06:38 +0000 (00:06 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
(DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
(DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
* hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
call_dummy_location to ON_STACK.

20 years ago*** empty log message ***
gdbadmin [Mon, 23 Feb 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-02-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
joshuadfranklin [Sun, 22 Feb 2004 23:49:15 +0000 (23:49 +0000)]
2004-02-22  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>
* Makefile.in: Fix problem links in faq0.html file.
* what.texinfo: Remove outdated 'recent' history.

20 years ago2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
joshuadfranklin [Sun, 22 Feb 2004 23:21:19 +0000 (23:21 +0000)]
2004-01-12  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>

* dll_init.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * dtable.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * external.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * path.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * pinfo.cc: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * shared.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * stackdump.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.

20 years agodaily update
amodra [Sun, 22 Feb 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* x86-64-linux-tdep.c: Tweak comment.
kettenis [Sun, 22 Feb 2004 20:29:48 +0000 (20:29 +0000)]
* x86-64-linux-tdep.c: Tweak comment.
(amd64_linux_supply_gregset): Renamed from
x86_64_linux_supply_gresget.
(amd64_linux_fill_gregset): Renamed from
x86_64_linux_fill_gregset.
(fetch_core_registers): Adjust for renamed functions.
(amd64_core_fns): Renamed from x86_64_core_fns.
(amd64_linux_sigtramp_start): Renamed from
x86_64_linux_sigtramp_start.
(amd64_linux_pc_in_sigtramp): Renamed from
x86_64_linux_pc_in_sigtramp.  Adjust for renamed functions.
(AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
(amd64_linux_sigcontext_addr): Renamed from
x86_64_linux_sigcontext_addr.
(amd64_linux_sc_reg_offset): Renamed from
x86_64_linux_sc_reg_offset.
(amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
Adjust for renamed functions and variables.
(_initialize_amd64_linux_tdep): Renamed from
_initialize_x86_64_linux_tdep.  Adjust for renamed functions and
variables.
* x86-64-linux-tdep.h: Update copyright year.  Tweak comment.
Adjust for renamed functions.

20 years ago* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
kettenis [Sun, 22 Feb 2004 20:19:40 +0000 (20:19 +0000)]
* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
from x86_64_linux_gregset64_reg_offset.
(amd64_linux_gregset32_reg_offset): Rename from
x86_64_linux_gregset64_reg_offset.
(amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
(amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
(amd64_linux_dr_set_control): Renamed from
x86_64_linux_dr_set_control.  Adjust for renamed functions.
(amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
Adjust for renamed functions.
(amd64_linux_dr_reset_addr): Renamed from
x86_64_linux_dr_reset_addr. Adjust for renamed functions.
(amd64_linux_dr_get_status): Renamed from
x86_64_linux_dr_get_status.  Adjust for renamed functions.
(_initialize_amd64_linux_nat): Renamed from
_initialize_x86_64_linux_nat.  Adjust for renamed variables and
functions.
* config/i386/nm-x86-64linux.h: Update copyright year.
Adjust for renamed functions.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Feb 2004 19:22:37 +0000 (19:22 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa32_return_value): New function.
(hppa64_return_value): New function.
(hppa_gdbarch_init): Set return_value; keep disabled.

20 years ago* amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
kettenis [Sun, 22 Feb 2004 19:14:55 +0000 (19:14 +0000)]
* amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
amd64fbsd_sigtramp_start.
(amd64fbsd_sigtramp_end_addr): Renamed from
amd64fbsd_sigtramp_end.
(amd64fbsd_init_abi): Adjust for renamed variables.
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
variables.
* x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
amd64fbsd_sigtramp_start.
(amd64fbsd_sigtramp_end_addr): Renamed from
amd64fbsd_sigtramp_end.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Feb 2004 17:58:09 +0000 (17:58 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Re-order separating
struct-return and inferior function call methods.

20 years agoIndex: ChangeLog
cagney [Sun, 22 Feb 2004 17:34:16 +0000 (17:34 +0000)]
Index: ChangeLog
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
"frame-base.h".
(struct hppa_frame_cache): Define.
(hppa_frame_cache, hppa_frame_this_id): New functions.
(hppa_frame_prev_register): New function.
(hppa_frame_unwind, hppa_frame_base): New variables.
(hppa_frame_unwind_sniffer): New function.
(hppa_frame_base_address, hppa_unwind_pc): New function.
(hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
sniffer, and frame base sniffer; keep disabled.
(hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
* Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Feb 2004 17:08:41 +0000 (17:08 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
to predicates for "seriously old code".

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Feb 2004 17:01:04 +0000 (17:01 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
runtime if(0).

20 years agoFix previous commit:
kettenis [Sun, 22 Feb 2004 16:56:33 +0000 (16:56 +0000)]
Fix previous commit:
Remove old 386BSD support.
* NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
* configure.host: Remove i[34567]86-*-bsd*.
* configure.tgt: Remove i[34567]86-*-bsd*.
* i386b-nat.c: Removed.
* Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
(i386b-nat.o): Remove dependencies.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Feb 2004 16:55:03 +0000 (16:55 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
unsigned.
(hppa_frame_find_saved_regs): Fix "std" instruction pattern

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Feb 2004 16:51:37 +0000 (16:51 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h: Update copyright.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
(deprecated_init_frame_pc_default): Delete declaration.
(hppa_frame_init_saved_regs): Delete declaration.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
* hppa-tdep.c: Include "arch-utils.h".
(hppa_gdbarch_init): Set deprecated init_frame_pc
and deprecated frame_init_saved_regs.
(hppa_frame_init_saved_regs): Make static.

20 years agoRemove old 386BSD support.
kettenis [Sun, 22 Feb 2004 16:48:22 +0000 (16:48 +0000)]
Remove old 386BSD support.
* configure.host: Remove i[34567]86-*-bsd*.
* configure.tgt: Remove i[34567]86-*-bsd*.
* i386b-nat.c: Removed.
* Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
* config/i386/i386bsd.mh: Removed.
* config/i386/i386bsd.mt: Removed.
* config/i386/nm-i386bsd.h: Removed.
* config/i386/tm-i386bsd.h: Removed.
* config/i386/xm-i386bsd.h: Removed.

20 years ago* x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
kettenis [Sun, 22 Feb 2004 16:30:04 +0000 (16:30 +0000)]
* x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.

20 years ago* amd64fbsd-tdep.c: Include "solib-svr4.h".
kettenis [Sun, 22 Feb 2004 16:20:21 +0000 (16:20 +0000)]
* amd64fbsd-tdep.c: Include "solib-svr4.h".
(amd64fbsd_init_abi): Set link map offsets.
* amd64nbsd-tdep.c: Include "slib-svr4.h".
(amd64nbsd_init_abi): Set link map offsets.
* amd64obsd-tdep.c: Include "solib-svr4.h".
(amd64obsd_init_abi): Set link map offsets.
* i386fbsd-tdep.c: Include "solib-svr4.h".
(i386fbsd_init_abi): Set link map offsets.
* i386nbsd-tdep.c: Include "solib-svr4.h".
(i386nbsdelf_init_abi): Set link map offsets.
* Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
(amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
* config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
solib-legacy.o and core-aout.o. Reformat.
* config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o.  Reformat.
* config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o.  Reformat.
* config/i386/nbsdelf.mh: Reformat.
* config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o and corelow.o.
* config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
* config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o and corelow.o.  Reformat.
* config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
* config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
(TM_FILE): Set to tm-fbsd.h.
* config/i386/nbsd.mt (TDEPFILES): Reformat.
* config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
solib-svr4.o.
* config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
solib-svr4.o.
(TM_FILE): Set to nm-nbsd.h.
* config/i386/nm-fbsd.h: Update copyright year.  Tweak comments.
Simplify shared library support.  Don't include "elf/common.h".
(SVR4_SHARED_LIBS): Don't define.
* config/i386/nm-fbsd64.h: Update copyright year.  Don't include
"solib.h".
* config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
config/i386/nm-obsd.h: Update copyright year.  Tweak comments.
* config/i386/tm-fbsd.h: Update copyright tear.  Tweak comments.
Don't include "i386/tm-i386.h".  Include "solib.h".
* config/i386/tm-nbsd.h: Update copyright year.  Tweak comments.
Don't include "i386/tm-i386.h".
* config/i386/xm-i386.h: Update copyright year.  Tweak comments.
* config/i386/xm-nbsd.h: Update copyright year.  Tweak comments.
Include "i386/xm-i386.h".
(HOST_LONG_DOUBLE_FORMAT): Remove.

20 years ago* configure.in: Run stabs tests on *BSD.
kettenis [Sun, 22 Feb 2004 12:58:01 +0000 (12:58 +0000)]
* configure.in: Run stabs tests on *BSD.
* configure: Regenerated.

20 years ago* configure.in: Run stabs tests on *BSD.
kettenis [Sun, 22 Feb 2004 12:55:55 +0000 (12:55 +0000)]
* configure.in: Run stabs tests on *BSD.
* configure: Regenerated.

20 years agoFix OpenBSD/i386 sigtramp recognition.
kettenis [Sun, 22 Feb 2004 11:19:12 +0000 (11:19 +0000)]
Fix OpenBSD/i386 sigtramp recognition.
* i386-tdep.h: Update copyright year.
(i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
(i386bsd_sigtramp_end): New prototypes.
(i386fbsd_sigtramp_start_addr): Renamed from
i386fbsd_sigtramp_start.
(i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
(i386obsd_sigtramp_start_addr): Renamed from
i386obsd_sigtramp_start.
(i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
* i386bsd-tdep.c: Update copyright year.
(i386bsd_pc_in_sigtramp): Make public.
* i386fbsd-nat.c: Update copyright year.
(_initialize_i386fbsd_nat): Adjust for renamed variables.
* i386fbsd-tdep.c: Update copyright year.
(i386fbsd_sigtramp_start_addr): Renamed from
i386fbsd_sigtramp_start.
(i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
(i386fbsdaout_init_abi): Adjust for renamed variables.
* i386obsd-nat.c: Update copyright year.
(_initialize_i386obsd_nat): Adjust for renamed variables.
* i386obsd-tdep.c: Include "target.h".
(i386obsd_page_size): New variable.
(i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
(i386obsd_sigtramp_end): New functions.
(i386obsd_sigtramp_start_addr): Renamed from
i386obsd_sigtramp_start.
(i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
(i386obsd_init_abi): Adjust for renamed variables.  Set
pc_in_sigtramp, sigtramp_start and sigtramp_end.
* Makefile.in (i386obsd-tdep.o): Update dependencies.

20 years ago* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
kettenis [Sun, 22 Feb 2004 00:11:28 +0000 (00:11 +0000)]
* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
trampoline change in OpenBSD kernel.

20 years ago*** empty log message ***
gdbadmin [Sun, 22 Feb 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* amd64-nat.c: Update copyright year.
kettenis [Sat, 21 Feb 2004 23:50:39 +0000 (23:50 +0000)]
* amd64-nat.c: Update copyright year.
(amd64_supply_native_gregset, amd64_collect_native_gregset): Use
architecture from REGCACHE.

20 years ago* x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
kettenis [Sat, 21 Feb 2004 23:45:36 +0000 (23:45 +0000)]
* x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
symbolic constants from <sys/reg.h> instead of hard-coded numbers.

20 years ago2004-02-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 21 Feb 2004 23:05:12 +0000 (23:05 +0000)]
2004-02-21  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_merge_symbol): Properly handle undefined
symbols with non-default visibility.

20 years agodaily update
amodra [Sat, 21 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* exceptions.cc (sigpacket::process): Make sure that tls is filled in for
cgf [Sat, 21 Feb 2004 22:57:36 +0000 (22:57 +0000)]
* exceptions.cc (sigpacket::process): Make sure that tls is filled in for
SIGSTOP condition.
(_cygtls::call_signal_handler): Restore signal mask using saved oldmask rather
than current oldmask.

20 years ago* dlltool.c (gen_exp_file): Always output names for forwarded symbols.
cgf [Sat, 21 Feb 2004 21:28:22 +0000 (21:28 +0000)]
* dlltool.c (gen_exp_file): Always output names for forwarded symbols.

20 years ago* configure.host: Add i[34567]86-*-openbsd[0-2].* and
kettenis [Sat, 21 Feb 2004 21:22:10 +0000 (21:22 +0000)]
* configure.host: Add i[34567]86-*-openbsd[0-2].* and
i[34567]86-*-openbsd3.[0-3].
* config/i386/obsdaout.mh: New file.

20 years ago* config/i386/obsd.mh (MH_FLAGS): Remove.
kettenis [Sat, 21 Feb 2004 21:12:24 +0000 (21:12 +0000)]
* config/i386/obsd.mh (MH_FLAGS): Remove.

20 years agoFix PR build/1549.
kettenis [Sat, 21 Feb 2004 19:11:36 +0000 (19:11 +0000)]
Fix PR build/1549.
* i386obsd-tdep.c: Update copyright years.  Include
"solib-svr4.h".
(i386obsd_init_abi): Don't set regset_from_core_section here.
(i386obsd_aout_init_abi): New function.  Set
regset_from_core_section here.
(i386obsd_elf_init_abi): New function.
(_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
* Makefile.in (i386obsd-tdep.o): Update dependecies.
* config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
(TM_FILE): Set to tm-nbsd.h.

* config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
solib-sunos.o.

20 years ago* gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
kettenis [Sat, 21 Feb 2004 18:43:58 +0000 (18:43 +0000)]
* gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.

20 years ago* solib-svr4.h: Update copyright year.
kettenis [Sat, 21 Feb 2004 18:34:44 +0000 (18:34 +0000)]
* solib-svr4.h: Update copyright year.
(svr4_ilp32_fetch_link_map_offsets)
(svr4_lp64_fetch_link_map_offsets): New prototype.
* solib-svr4.c: Update copyright year.
(svr4_ilp32_fetch_link_map_offsets)
(svr4_lp64_fetch_link_map_offsets): New function.

20 years ago * include/_mingw.h (__UNUSED_PARAM): Define macro.
dannysmith [Sat, 21 Feb 2004 07:21:36 +0000 (07:21 +0000)]
* include/_mingw.h (__UNUSED_PARAM): Define macro.
* include/wchar.h (fwide): Use it.
(mbsinit): Ditto.

20 years ago * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
dannysmith [Sat, 21 Feb 2004 06:16:01 +0000 (06:16 +0000)]
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
IMAGE_SCN_MEM_WRITE on known sections only.

20 years ago* Makefile.in (build_dumper): Detect missing iconv library.
cgf [Sat, 21 Feb 2004 04:51:15 +0000 (04:51 +0000)]
* Makefile.in (build_dumper): Detect missing iconv library.
* cygpath.cc (dowin): Report on filename conversion errors.
(doit): Ditto.
* strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.

20 years ago* path.cc (conv_path_list): Return error condition.
cgf [Sat, 21 Feb 2004 04:46:00 +0000 (04:46 +0000)]
* path.cc (conv_path_list): Return error condition.
(copy1): New function.
(copyenc): New function.
(mount_item::fnmunge): Return error condition.  Use new functions to copy
strings.
(mount_item::build_win32): Ditto.
(mount_info::conv_to_win32_path): Return error condition.
(cygwin_conv_to_posix_path): Return result of path conversion.
(cygwin_conv_to_full_posix_path): Ditto.
(return_with_errno): New macro.
(cygwin_win32_to_posix_path_list): Use new macro to potentially set errno.
(cygwin_posix_to_win32_path_list): Ditto.
* path.h (mount_item::fnmunge): Add size argument.
(mount_item::build_win32): Ditto.

20 years ago * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
drow [Sat, 21 Feb 2004 02:13:32 +0000 (02:13 +0000)]
* dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
to the partial symbol table.

20 years agoFix unwind info problems with .align.
wilson [Sat, 21 Feb 2004 00:24:14 +0000 (00:24 +0000)]
Fix unwind info problems with .align.
* config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
finalize_syms.
(fixup_unw_records): New arg before_relax.  Pass to slot_index.
(ia64_estimate_size_before_relax): New.
(ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
(generate_unwind_image): Pass 1 to fixup_unw_records.
* config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
(md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.

20 years ago*** empty log message ***
gdbadmin [Sat, 21 Feb 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * getopt.c: Avoid useless compiler warnings.
corinna [Fri, 20 Feb 2004 23:31:47 +0000 (23:31 +0000)]
* getopt.c: Avoid useless compiler warnings.

20 years agodaily update
amodra [Fri, 20 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * PROBLEMS: Add description of problem documented under gdb/1560.
brobecke [Fri, 20 Feb 2004 21:43:38 +0000 (21:43 +0000)]
   * PROBLEMS: Add description of problem documented under gdb/1560.

20 years ago * getopt.c: Replace with latest vanilla(!) OpenBSD version 1.16.
corinna [Fri, 20 Feb 2004 21:30:43 +0000 (21:30 +0000)]
* getopt.c: Replace with latest vanilla(!) OpenBSD version 1.16.

20 years ago* amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
kettenis [Fri, 20 Feb 2004 19:03:12 +0000 (19:03 +0000)]
* amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h".  Fix
comments.
(amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
functions.
(amd64obsd_init_abi): Reorder initializations.  Use
amd64obsd_r_reg_offset to initialize the general-purpose register
set details.  Set regset_from_core_section.
(_initialize_amd64obsd_tdep): Rename from
_initialize_amd64obsd_ndep.  Add OS ABI handler for core dumps.
* Makefile.in (amd64obsd-tdep.o): Update dependencies.
* config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.

20 years ago* NEWS (New native configurations): Mention OpenBSD/alpha.
kettenis [Fri, 20 Feb 2004 18:46:33 +0000 (18:46 +0000)]
* NEWS (New native configurations): Mention OpenBSD/alpha.
* configure.tgt: Add alpha*-*-openbsd*.
* configure.host: Add alpha*-*-openbsd*.
* alphanbsd-tdep.c: Update copyright year.
(_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.

20 years ago2004-02-20 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 20 Feb 2004 18:13:17 +0000 (18:13 +0000)]
2004-02-20  Andrew Cagney  <cagney@redhat.com>

Fix PR tdep/1372.
* configure.tgt: Delete target "none-*-*".
* configure.host: Delete host "none-*-*".
* config/none/none.mh: Delete file.
* config/none/none.mt: Delete file.
* config/none/xm-none.h: Delete file.
* config/none/tm-none.h: Delete file.
* config/none/nm-none.h: Delete file.

20 years ago * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
jakub [Fri, 20 Feb 2004 17:36:36 +0000 (17:36 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
symbols used in PIE relocs.