Andrew Cagney [Sun, 10 Jun 2001 01:16:14 +0000 (01:16 +0000)]
Move supress_field_separator logic into mi_open() and mi_close().
Andrew Cagney [Sun, 10 Jun 2001 00:56:06 +0000 (00:56 +0000)]
Oops. Clean up changelog entry.
Andrew Cagney [Sun, 10 Jun 2001 00:47:02 +0000 (00:47 +0000)]
Add missing $(ui_out_h) dependencies.
Andrew Cagney [Sun, 10 Jun 2001 00:22:41 +0000 (00:22 +0000)]
Make char *, const char *.
gdbadmin [Sun, 10 Jun 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alexandre Oliva [Sat, 9 Jun 2001 22:42:30 +0000 (22:42 +0000)]
* sh-opc.h (sh_table): Don't use empty initializers.
Phil Blundell [Sat, 9 Jun 2001 20:19:29 +0000 (20:19 +0000)]
2001-06-09 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_plt0_entry): Correct error in last
change.
(elf32_arm_plt_entry): Likewise.
H.J. Lu [Sat, 9 Jun 2001 06:25:55 +0000 (06:25 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/elfel-rel3.s: Moved to ...
* gas/mips/elf-rel3.s: Here.
* gas/mips/elf-rel3.d: Updated.
* gas/mips/elfel-rel3.d: Updated.
* gas/mips/relax.d: New file.
* gas/mips/relax.s: Likewise.
* gas/mips/mips.exp: Run relax and set xfail.
H.J. Lu [Sat, 9 Jun 2001 05:24:39 +0000 (05:24 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (warn_nops): New variable. Set to 0 to
disable warning about all NOPS that the assembler generates.
(macro): Warn NOPS generated only if warn_nops is not 0.
(md_shortopts): Add `n'.
(md_parse_option): Set warn_nops to 1 for `n'.
H.J. Lu [Sat, 9 Jun 2001 05:01:29 +0000 (05:01 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_ip): Properly handle illegal operands.
H.J. Lu [Sat, 9 Jun 2001 04:54:16 +0000 (04:54 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/illegal.s: New file.
* gas/mips/illegal.l: Likewise.
* gas/elf/elf.exp (run_list_test): New.
Run illegal with run_list_test.
H.J. Lu [Sat, 9 Jun 2001 03:28:32 +0000 (03:28 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-jal.d: New file.
* gas/mips/mips.exp: Run "elf-jal" instead of "jal" for ELF.
H.J. Lu [Sat, 9 Jun 2001 03:28:04 +0000 (03:28 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (md_apply_fix): Don't adjust common
extern/weak symbols for ELF.
(md_estimate_size_before_relax): Treat weak like extern for
ELF.
(mips_fix_adjustable): Don't adjust extern/weak symbols for
ELF.
Alan Modra [Sat, 9 Jun 2001 02:15:49 +0000 (02:15 +0000)]
* NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
Michael Snyder [Sat, 9 Jun 2001 01:55:43 +0000 (01:55 +0000)]
2001-06-08 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (delete_breakpoint): Pass mark_inserted to
remove_breakpoint, so that the subsequent test for
bpt->inserted will succeed, and duplicates will be fixed up.
gdbadmin [Sat, 9 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Per Bothner [Fri, 8 Jun 2001 18:08:03 +0000 (18:08 +0000)]
* dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
H.J. Lu [Fri, 8 Jun 2001 15:30:52 +0000 (15:30 +0000)]
2001-06-08 H.J. Lu <hjl@gnu.org>
* elf.c (swap_out_syms): Keep names for global section symbols.
Alan Modra [Fri, 8 Jun 2001 15:27:25 +0000 (15:27 +0000)]
* gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07.
H.J. Lu [Fri, 8 Jun 2001 06:21:29 +0000 (06:21 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* config.bfd: Put back ecoff for Linux/mips. Firmwares on some
MIPS-based machines need it.
Alan Modra [Fri, 8 Jun 2001 06:11:33 +0000 (06:11 +0000)]
fix typo.
Alan Modra [Fri, 8 Jun 2001 06:07:13 +0000 (06:07 +0000)]
* Makefile.am: 'som' is not wrongly spelled 'some'.
* Makefile.in: Regenerate.
* config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
S_GET_VALUE by using a temp.
(append_insn): Likewise, and for S_GET_VALUE too.
(mips_emit_delays): Likewise.
(my_getExpression): Likewise.
(md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
(mips16_extended_frag): Remove code concerned with avoiding
locking in a frag address now that symbols are not finalized until
relaxation is complete. Cater for first relaxation pass having
bogus addresses. Use relax_marker to reliably determine whether a
symbol frag has been reached on the current pass.
Alexandre Oliva [Fri, 8 Jun 2001 03:24:41 +0000 (03:24 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.
Alan Modra [Fri, 8 Jun 2001 01:58:20 +0000 (01:58 +0000)]
* ldlang.c (record_bfd_errors): Remove.
* emultempl/aix.em: Fix copyright dates.
H.J. Lu [Fri, 8 Jun 2001 01:08:05 +0000 (01:08 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.e-mips: New file.
* gas/elf/elf.exp (run_list_test): Add suffix.
Pass -mips as suffix to run_list_test for mips.
gdbadmin [Fri, 8 Jun 2001 00:27:01 +0000 (00:27 +0000)]
*** empty log message ***
H.J. Lu [Thu, 7 Jun 2001 23:43:46 +0000 (23:43 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
* configure: Regenerate.
Keith Seitz [Thu, 7 Jun 2001 22:02:18 +0000 (22:02 +0000)]
* tracepoint.c (tracepoint_opertation): Add ui event
notifications.
(trace_pass_command): Ditto.
Andrew Cagney [Thu, 7 Jun 2001 21:43:00 +0000 (21:43 +0000)]
Jeff Law sepped down as HP/UX maintainer.
Andrew Cagney [Thu, 7 Jun 2001 21:03:48 +0000 (21:03 +0000)]
Doco write-after-approval criteria.
Jim Blandy [Thu, 7 Jun 2001 20:52:47 +0000 (20:52 +0000)]
* gdbarch.sh: Make sure that '[' doesn't interpret interesting
variable values as operators.
Keith Seitz [Thu, 7 Jun 2001 20:18:45 +0000 (20:18 +0000)]
* gdb-events.sh: Fix quote escaping which was obsoleted
by last patch.
Keith Seitz [Thu, 7 Jun 2001 19:40:55 +0000 (19:40 +0000)]
* gdb-events.sh: Make if statements and tests
a little more portable.
Don't use shell's echo command to put strings containing
escaped characeters into a file -- different flavors of /bin/sh
require differnt levels of escaping. Use cat <<EOF instead.
Our internal field separator is a colon. Change all
commands which assume it is a space.
Mark Kettenis [Thu, 7 Jun 2001 19:31:10 +0000 (19:31 +0000)]
* lin-lwp.c (struct lwp_info): Add member `resumed'.
(iterate_over_lwps): Make sure we can handle CALLBACK deleting the
LWP it's called for.
(lin_lwp_attach): Mark LWP as resumed to make sure the fake
SIGSTOP is reported.
(resume_clear_callback): New function.
(resume_set_callback): New function.
(lin_lwp_resume): Mark all LWP's that we're going to resume as
resumed, and unmark all others.
(status_callback): Only report a pending wait status if we pretend
that LP has been resumed.
(resumed_callback): New function.
(lin_lwp_wait): Add assertions to check that LWP's are properly
marked as resumed. Partially revert 2001-05-25 patch by Michael
Snyder: do not resume all threads. Add comment explaining the
problems associated with this bit of code.
Keith Seitz [Thu, 7 Jun 2001 18:37:40 +0000 (18:37 +0000)]
* MAINTAINTERS: Syd Polk is stepping down from
maintaining libgui. I am replacing him.
H.J. Lu [Thu, 7 Jun 2001 18:06:59 +0000 (18:06 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.l: Match ".*GAS.*" instead of
"GAS LISTING .*".
H.J. Lu [Thu, 7 Jun 2001 17:31:22 +0000 (17:31 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
for SGI only.
* config.bfd: Remove ecoff from Linux/mips.
H.J. Lu [Thu, 7 Jun 2001 17:23:14 +0000 (17:23 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
ecoff emulation.
* configure: Regenerate.
H.J. Lu [Thu, 7 Jun 2001 17:18:56 +0000 (17:18 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/mips/mips.exp: Set xfail for "lineno" on Linux/mips.
H.J. Lu [Thu, 7 Jun 2001 16:52:19 +0000 (16:52 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_pseudo_table): Add "extern" if
MIPS_STABS_ELF is defined.
H.J. Lu [Thu, 7 Jun 2001 16:48:18 +0000 (16:48 +0000)]
Fix typos.
H.J. Lu [Thu, 7 Jun 2001 16:46:38 +0000 (16:46 +0000)]
2001-06-07 H.J. Lu <hjl@gnu.org>
* readelf.ss-mips: Support stabs.
* binutils-all/readelf.ss-tmips: Likewise.
H.J. Lu [Thu, 7 Jun 2001 16:44:12 +0000 (16:44 +0000)]
2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/mips/empic.d: Support stabs.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
Eli Zaretskii [Thu, 7 Jun 2001 15:57:57 +0000 (15:57 +0000)]
* config/mips/tm-irix6.h: New file.
* config/mips/irix6.mh: New file.
* config/mips/irix6.mt: New file.
* config/mips/xm-irix6.h: New file.
* config/mips/nm-irix6.h: New file.
* mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
disassembler info in tm_print_insn_info as appropriate for the N32
ABI. Force N32 ABI to be the default if the CPU is R8000 or
R10000.
* configure.tgt (mips*-sgi-irix6*): Map to irix6.
* configure.host (mips*-sgi-irix6*): Ditto.
Andrew Cagney [Thu, 7 Jun 2001 14:51:20 +0000 (14:51 +0000)]
s/abort/gdb_assert/
Andreas Jaeger [Thu, 7 Jun 2001 14:45:36 +0000 (14:45 +0000)]
2001-06-07 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an
assertion.
(elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an
alignment of 8 for .rela sections; handle further relocations.
Andreas Jaeger [Thu, 7 Jun 2001 11:18:18 +0000 (11:18 +0000)]
* emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
(TEXT_START_ADDR): Likewise.
Jim Blandy [Thu, 7 Jun 2001 03:42:41 +0000 (03:42 +0000)]
* gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.
H.J. Lu [Thu, 7 Jun 2001 00:57:40 +0000 (00:57 +0000)]
2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-rel3.s: New file.
* gas/mips/elf-rel3.d: Likewise.
* gas/mips/elfel-rel3.s: Likewise.
* gas/mips/elfel-rel3.d: Likewise.
* gas/mips/mips.exp: Run elf-rel3/elfel-rel3.
Jim Blandy [Wed, 6 Jun 2001 22:21:15 +0000 (22:21 +0000)]
* cp-abi.h: Rearrange code to put documentation comments above the
functions we export. The actual function table itself simply
refers to those functions. Minor doc fixes.
Jim Blandy [Wed, 6 Jun 2001 22:05:08 +0000 (22:05 +0000)]
* gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.
H.J. Lu [Wed, 6 Jun 2001 21:08:09 +0000 (21:08 +0000)]
Fix a typo.
H.J. Lu [Wed, 6 Jun 2001 21:07:14 +0000 (21:07 +0000)]
2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/elf/elf.exp (run_list_test): New.
Run section2 with run_list_test.
* gas/elf/section2.e: New file.
* gas/elf/section2.l: Likewise.
* gas/elf/section2.s: Likewise.
H.J. Lu [Wed, 6 Jun 2001 21:03:59 +0000 (21:03 +0000)]
2001-06-06 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
on Linux/mips.
* ld-elfvers/vers.exp: Also run on istarget Linux/mips.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-shared/shared.exp: Likewise.
* ld-selective/selective.exp: Mark selective2, selective3,
selective4 and selective5 xfail on Linux/mips.
* ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
* symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
* ld-srec/srec.exp: Add Linux/mips to xfail.
Michael Snyder [Wed, 6 Jun 2001 18:34:53 +0000 (18:34 +0000)]
2001-06-04 Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
non-zero if control_c fails. Terminate the test on failure,
rather than wait for 12 more tests to time out.
Jim Blandy [Wed, 6 Jun 2001 18:25:46 +0000 (18:25 +0000)]
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
Jim Blandy [Wed, 6 Jun 2001 18:22:29 +0000 (18:22 +0000)]
* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
Jim Blandy [Wed, 6 Jun 2001 17:47:28 +0000 (17:47 +0000)]
* gdbarch.sh: Changes to effect the following:
* gdbarch.c (initialize_non_multiarch): New function.
* gdbarch.h (initialize_non_multiarch): New declaration.
* arch-utils.c (initialize_current_architecture): For
non-multiarch configurations, call initialize_non_multiarch.
Nick Clifton [Wed, 6 Jun 2001 17:32:38 +0000 (17:32 +0000)]
Remove L fromlist of accepting listin goptions
Andrew Cagney [Wed, 6 Jun 2001 17:12:30 +0000 (17:12 +0000)]
Delete some unnecessary PTR uses.
Nick Clifton [Wed, 6 Jun 2001 17:01:35 +0000 (17:01 +0000)]
Remove warnings building z8k port.
Fix ld -r behaviour
Jonathan Larmour [Wed, 6 Jun 2001 16:31:32 +0000 (16:31 +0000)]
* arch-utils.c (generic_prepare_to_proceed): Allow for having
stopped due to a Ctrl-C as well as breakpoints.
* hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
support thread switches after Ctrl-C.
* lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
* linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
* m3-nat.c (mach3_prepare_to_proceed): Ditto.
Jim Blandy [Wed, 6 Jun 2001 14:46:30 +0000 (14:46 +0000)]
* gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
per-architecture data should be registered at initialization time,
before any gdbarch objects get used, so the generality is
unnecessary.
Keith Seitz [Wed, 6 Jun 2001 14:44:42 +0000 (14:44 +0000)]
* gdb-events.sh (function_list): Add tracepoint_create,
tracepoint_delete, and tracepoint_modify events.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
Keith Seitz [Wed, 6 Jun 2001 14:38:52 +0000 (14:38 +0000)]
Regenerate...
* gdb-events.sh: Update copyrights.
Change free to xfree.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
Keith Seitz [Wed, 6 Jun 2001 14:36:05 +0000 (14:36 +0000)]
* gdb-events.sh: Update copyrights.
Change free to xfree.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
Nick Clifton [Wed, 6 Jun 2001 14:28:00 +0000 (14:28 +0000)]
correct some 68k/ColdFire problems
Alan Modra [Wed, 6 Jun 2001 12:11:53 +0000 (12:11 +0000)]
* ld-undefined/undefined.exp: Add a setup_xfail line for a test
that will always fail on s/390.
Alan Modra [Wed, 6 Jun 2001 12:11:23 +0000 (12:11 +0000)]
* configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
Alan Modra [Wed, 6 Jun 2001 12:08:50 +0000 (12:08 +0000)]
* config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
Alan Modra [Wed, 6 Jun 2001 12:06:56 +0000 (12:06 +0000)]
* config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
Eli Zaretskii [Wed, 6 Jun 2001 10:27:59 +0000 (10:27 +0000)]
* source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
* completer.c: Ditto.
* cli/cli-cmds.c (cd_command): Ditto.
Alan Modra [Wed, 6 Jun 2001 10:24:18 +0000 (10:24 +0000)]
* i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
(cond_jump_mode, loop_jcxz_mode): Define.
(dis386_att): Add cond_jump_flag and loop_jcxz_flag as
appropriate, and 'F' suffix to loop insns.
(disx86_64_att): Likewise.
(dis386_twobyte_att): Likewise.
(print_insn_i386): Don't output addr prefix for loop, jcxz insns.
Output data size prefix for long conditional jumps. Output cs and
ds branch hints.
(putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
(OP_J): Don't make PREFIX_DATA used.
Alan Modra [Wed, 6 Jun 2001 10:23:39 +0000 (10:23 +0000)]
* config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
<JumpByte, JumpDword insn output>: Remove dead code.
Alan Modra [Wed, 6 Jun 2001 03:42:24 +0000 (03:42 +0000)]
* as.c (parse_args): Correct option name "listing-lhs-width2".
Nick Clifton [Tue, 5 Jun 2001 08:31:24 +0000 (08:31 +0000)]
oops - omitted from previous delta
Nick Clifton [Tue, 5 Jun 2001 08:29:59 +0000 (08:29 +0000)]
Do not allow .globl to override .section
Nick Clifton [Tue, 5 Jun 2001 07:35:10 +0000 (07:35 +0000)]
Add mips64*-*-linux host
Alan Modra [Tue, 5 Jun 2001 05:51:55 +0000 (05:51 +0000)]
* elf32-i386.c (elf_i386_discard_copies): Rename to
discard_copies, and use elf_link_hash_entry arg rather than
elf_i386_link_hash_entry.
(elf_i386_link_hash_traverse): Delete.
(elf_i386_size_dynamic_sections): Adjust call to discard_copies.
Tidy sizing of dynamic sections.
(elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count
possible .plt entries.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_adjust_dynamic_symbol): Discard .plt entries for
everything with plt.refcount <= 0.
* elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and
.relgot space here.
(elf_i386_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rel.plt here..
(allocate_plt_and_got): ..instead do it all here. New function.
(elf_i386_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got. No need to zap .relgot if not dynamic.
(bfd_elf32_bfd_final_link): Delete. (ie. use regular final link
rather than gc variety).
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf_i386_relocate_section): Use it here and correct handling of
R_386_GOT32. Provide section and offset for "unresolvable
relocation" error message.
(elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.
* elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.
(elf_i386_link_hash_table_create): Init them.
(create_got_section): New function.
(elf_i386_create_dynamic_sections): New function.
(elf_backend_create_dynamic_sections): Set to above.
(elf_i386_check_relocs): Use shortcuts from hash table rather than
calling bfd_get_section_by_name.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.
Jim Blandy [Tue, 5 Jun 2001 05:03:44 +0000 (05:03 +0000)]
* gdb.base/help.exp: Update pattern to exclue `print-load-map'
command.
Alan Modra [Tue, 5 Jun 2001 04:39:31 +0000 (04:39 +0000)]
* elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
DJ Delorie [Tue, 5 Jun 2001 00:48:41 +0000 (00:48 +0000)]
* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
Alexandre Oliva [Mon, 4 Jun 2001 19:33:12 +0000 (19:33 +0000)]
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.
Alexandre Oliva [Mon, 4 Jun 2001 19:25:10 +0000 (19:25 +0000)]
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.
H.J. Lu [Mon, 4 Jun 2001 18:20:00 +0000 (18:20 +0000)]
2001-06-04 H.J. Lu <hjl@gnu.org>
* gas/mips/mips4010.s: Add the missing ".end".
* gas/mips/mips4100.s: Likewise.
* gas/mips/mips4650.s: Likewise.
* gas/mips/sync.s: Likewise.
Eli Zaretskii [Mon, 4 Jun 2001 07:53:08 +0000 (07:53 +0000)]
* mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
(mips_set_processor_type_command): Remove unused variable j.
(mips_breakpoint_from_pc): Declare breakpoint instruction
sequences as unsigned char, to avoid compiler warnings.
Eli Zaretskii [Mon, 4 Jun 2001 07:45:08 +0000 (07:45 +0000)]
* source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
instead of system-specific define's like _WIN32 and __MSDOS__.
Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
ROOTED_P.
(top-level): #include "filenames.h".
* solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
instead of SLASH_CHAR, ROOTED_P and SLASH_P.
(top-level): #include "filenames.h".
* defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
(SLASH_STRING): Define only for _WIN32.
* completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
__MSDOS_.
* cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
(top-level): #include "filenames.h".
Eli Zaretskii [Mon, 4 Jun 2001 07:29:29 +0000 (07:29 +0000)]
*** empty log message ***
Eli Zaretskii [Mon, 4 Jun 2001 07:29:00 +0000 (07:29 +0000)]
* go32-nat.c (go32_wait): Change the return value to ptid_t.
* config/djgpp/fnchange.lst: Add two new files in the
gdb/testsuite/gdb.c++/ directory to the remapped names.
* config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
Alexandre Oliva [Mon, 4 Jun 2001 04:10:38 +0000 (04:10 +0000)]
* sh-opc.h (sh_table): Complete last element entry to avoid
compiler warning.
H.J. Lu [Sun, 3 Jun 2001 02:41:58 +0000 (02:41 +0000)]
2001-06-02 H.J. Lu <hjl@gnu.org>
* elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX
and ELFOSABI_HPUX.
* elf64-hppa.c (elf64_hppa_object_p): Likewise.
H.J. Lu [Sat, 2 Jun 2001 19:42:40 +0000 (19:42 +0000)]
2001-06-02 H.J. Lu <hjl@gnu.org>
* aout-cris.c (MACHTYPE_OK): New. Defined.
Hans-Peter Nilsson [Sat, 2 Jun 2001 19:05:34 +0000 (19:05 +0000)]
* section.c (_bfd_strip_section_from_output): Handle NULL
output_section.
H.J. Lu [Sat, 2 Jun 2001 18:46:14 +0000 (18:46 +0000)]
2001-06-02 H.J. Lu <hjl@gnu.org>
* gas/sparc/unalign.d: Support Sparc V9.
H.J. Lu [Sat, 2 Jun 2001 17:32:09 +0000 (17:32 +0000)]
2001-06-02 H.J. Lu <hjl@gnu.org>
* config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add
rs6000coff64_vec only if BFD64 is defined.
(powerpc64-*-aix*): Enable only if BFD64 is defined.
H.J. Lu [Sat, 2 Jun 2001 15:46:43 +0000 (15:46 +0000)]
2001-06-02 H.J. Lu <hjl@gnu.org>
* coff-ia64.c (ia64coff_object_p): Rewrite with
external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.
Jim Blandy [Sat, 2 Jun 2001 03:50:56 +0000 (03:50 +0000)]
Expand the gdbarch per-architecture data vector as needed, rather
than requiring that all per-architecture data be registered before
the first gdbarch object is allocated.
* gdbarch.sh: Changes to effect the following:
* gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
declarations and definitions.
(check_gdbarch_data): New function, and declaration.
(gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
zero is good enough.
(free_gdbarch_data): Tolerate a null data pointer. Free only
those data items gdbarch->data actually has allocated.
(set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
(gdbarch_update_p): No need to call init_gdbarch_data.
Kevin Buettner [Sat, 2 Jun 2001 01:37:20 +0000 (01:37 +0000)]
Make alignment of struct arguments in inferior function calls comply with
the IA-64 Software Conventions and Runtime manual.
Michael Snyder [Sat, 2 Jun 2001 00:36:20 +0000 (00:36 +0000)]
2001-06-01 Michael Snyder <msnyder@redhat.com>
* thread.c (delete_step_resume_breakpoint): New function.
Maintain internal consistency of the thread list while deleting
a step_resume_breakpoint.
* gdbthread.h (delete_step_resume_breakpoint): Export.
* breakpoint.c (bpstat_find_step_resume_breakpoint):
Make thread-aware: don't return a step_resume_breakpoint
for the wrong thread.
* infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
instead of delete_breakpoint_current_contents.
(fetch_inferior_event): Ditto.
(handle_inferior_event): Call delete_step_resume_breakpoint
instead of delete_breakpoint.
Michael Snyder [Fri, 1 Jun 2001 23:23:19 +0000 (23:23 +0000)]
2001-06-01 Michael Snyder <msnyder@redhat.com>
* infrun.c (handle_inferior_event): After singlestepping over a
thread-specific breakpoint, use currently_stepping() to decide
whether to step or continue.