OSDN Git Service

pf3gnuchains/sourceware.git
23 years agoMerge insn decode tables, and generally tidy.
amodra [Mon, 11 Jun 2001 13:25:06 +0000 (13:25 +0000)]
Merge insn decode tables, and generally tidy.

23 years ago* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.
cgf [Mon, 11 Jun 2001 03:38:31 +0000 (03:38 +0000)]
* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.
Set root_dir before invoking GetDriveType (from Kazuhiro Fujieda
<fujieda@jaist.ac.jp>).  Eliminate extra checks for rootdir.

23 years ago2001-06-10 H.J. Lu <hjl@gnu.org>
hjl [Mon, 11 Jun 2001 01:07:02 +0000 (01:07 +0000)]
2001-06-10  H.J. Lu  <hjl@gnu.org>

* gas/elf/section2.l: Match various white spaces.

23 years ago* path.cc (chdir): Pre-check path for validity before eating trailing space.
cgf [Mon, 11 Jun 2001 00:24:28 +0000 (00:24 +0000)]
* path.cc (chdir): Pre-check path for validity before eating trailing space.
Then, ensure that path_conv doesn't check the path for validity again.

23 years agomerge from gcc
dj [Mon, 11 Jun 2001 00:07:54 +0000 (00:07 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Mon, 11 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoSupport 64bit ELF, not BFD.
hjl [Sun, 10 Jun 2001 23:05:47 +0000 (23:05 +0000)]
Support 64bit ELF, not BFD.

23 years ago2001-06-10 H.J. Lu <hjl@gnu.org>
hjl [Sun, 10 Jun 2001 18:16:50 +0000 (18:16 +0000)]
2001-06-10  H.J. Lu  <hjl@gnu.org>

* gas/elf/section2.e: Support 64bit BFD.
* gas/elf/section2.e-mips: Likewise.

23 years agoRemove trailing garbage from previous checkin.
cgf [Sun, 10 Jun 2001 16:29:03 +0000 (16:29 +0000)]
Remove trailing garbage from previous checkin.

23 years ago* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
cgf [Sun, 10 Jun 2001 16:25:51 +0000 (16:25 +0000)]
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
* values.c (unpack_double): Remove obsolete check for _MSC_VER.
* defs.h: Ditto.
* m32r-rom.c: Ditto.
* p-exp.y: Ditto.
* ser-e7kpc.c: Ditto.  Define WIN32_LEAN_AND_MEAN under _WIN32, for faster
compilation.
(get_ds_base): Remove _MSC_VER version of this function.
* nindy-share/ttyflush.c: Ditto.  X
* rdi-share/host.h: Ditto.  X
* ser-go32.c (dos_readchar): Remove call to obsolete function.
* remote-sim.c (gdb_os_poll_quit): Ditto.
* remote-e7000.c (expect): Remove obsolete #if 0'ed code.
* main.c (captured_main): Eliminate special Cygwin checks.
* ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.

23 years ago* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
cgf [Sun, 10 Jun 2001 16:00:23 +0000 (16:00 +0000)]
* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
operation or suffer races.
* sigproc.cc (proc_subproc): Deal with zombie array overflow.

23 years agoBranch hints for Pentium4 as insn modifiers, and some minor tweaks
amodra [Sun, 10 Jun 2001 14:07:11 +0000 (14:07 +0000)]
Branch hints for Pentium4 as insn modifiers, and some minor tweaks
to formatting.

23 years agoMove an entry to the correct ChangeLog.
amodra [Sun, 10 Jun 2001 13:41:42 +0000 (13:41 +0000)]
Move an entry to the correct ChangeLog.

23 years ago * cygwin.din: Add fchdir symbols.
corinna [Sun, 10 Jun 2001 10:00:19 +0000 (10:00 +0000)]
     * cygwin.din: Add fchdir symbols.
         * path.cc (chdir): Guard against invalid parameter.
         (fchdir): New function.
         * include/cygwin/version.h: Bump API minor version to 40.
         * uinfo.cc (internal_getlogin): Remove unused variable.

23 years ago * elflink.h: Whitespace changes.
amodra [Sun, 10 Jun 2001 05:20:59 +0000 (05:20 +0000)]
* elflink.h: Whitespace changes.
(elf_link_read_relocs_from_section): Use "unsigned int" iterator
rather than "unsigned char".
(elf_link_output_relocs): Likewise.
(elf_link_input_bfd): Likewise.
(elf_reloc_link_order): LIkewise.
* elf.c: s/CONST/const/.  Whitespace changes.
* elf32-mips.c: Formatting fix.

* Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h.
* Makefile.in: Regenerate.
* po/Make-in: Remove trailing tab.

23 years agoOops (again), missed a comment.
cagney [Sun, 10 Jun 2001 01:20:21 +0000 (01:20 +0000)]
Oops (again), missed a comment.

23 years agoMove supress_field_separator logic into mi_open() and mi_close().
cagney [Sun, 10 Jun 2001 01:16:14 +0000 (01:16 +0000)]
Move supress_field_separator logic into mi_open() and mi_close().

23 years agoOops. Clean up changelog entry.
cagney [Sun, 10 Jun 2001 00:56:06 +0000 (00:56 +0000)]
Oops.  Clean up changelog entry.

23 years agoAdd missing $(ui_out_h) dependencies.
cagney [Sun, 10 Jun 2001 00:47:02 +0000 (00:47 +0000)]
Add missing $(ui_out_h) dependencies.

23 years agoMake char *, const char *.
cagney [Sun, 10 Jun 2001 00:22:39 +0000 (00:22 +0000)]
Make char *, const char *.

23 years ago*** empty log message ***
gdbadmin [Sun, 10 Jun 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* sh-opc.h (sh_table): Don't use empty initializers.
aoliva [Sat, 9 Jun 2001 22:42:30 +0000 (22:42 +0000)]
* sh-opc.h (sh_table): Don't use empty initializers.

23 years ago * syscalls.cc (seteuid): Set environment variables USERNAME and
corinna [Sat, 9 Jun 2001 21:25:55 +0000 (21:25 +0000)]
    * syscalls.cc (seteuid): Set environment variables USERNAME and
        USERDOMAIN before impersonation to workaround a LookupAccountSid()
        misbehaviour.
        * uinfo.cc (internal_getlogin): Revert most of the previous change.
        Don't set environment variables USERNAME and USERDOMAIN. That's
        the job of seteuid() now. Try to get logon server from Lsa
        only if logon server isn't already known.

23 years ago2001-06-09 Philip Blundell <philb@gnu.org>
pb [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.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [Sat, 9 Jun 2001 06:25:53 +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.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [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'.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [Sat, 9 Jun 2001 05:01:28 +0000 (05:01 +0000)]
2001-06-08  H.J. Lu  <hjl@gnu.org>

* config/tc-mips.c (mips_ip): Properly handle illegal operands.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [Sat, 9 Jun 2001 03:28:03 +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.

23 years ago * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
amodra [Sat, 9 Jun 2001 02:15:49 +0000 (02:15 +0000)]
* NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.

23 years ago2001-06-08 Michael Snyder <msnyder@redhat.com>
msnyder [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.

23 years ago*** empty log message ***
gdbadmin [Sat, 9 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
bothner [Fri, 8 Jun 2001 18:08:03 +0000 (18:08 +0000)]
* dwarf2read.c (set_cu_language):  Handle DW_LANG_Java.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago * gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07.
amodra [Fri, 8 Jun 2001 15:27:24 +0000 (15:27 +0000)]
* gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years agofix typo.
amodra [Fri, 8 Jun 2001 06:11:33 +0000 (06:11 +0000)]
fix typo.

23 years ago * Makefile.am: 'som' is not wrongly spelled 'some'.
amodra [Fri, 8 Jun 2001 06:07:12 +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.

23 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
aoliva [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.

23 years ago * ldlang.c (record_bfd_errors): Remove.
amodra [Fri, 8 Jun 2001 01:58:20 +0000 (01:58 +0000)]
* ldlang.c (record_bfd_errors): Remove.

* emultempl/aix.em: Fix copyright dates.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago*** empty log message ***
gdbadmin [Fri, 8 Jun 2001 00:27:01 +0000 (00:27 +0000)]
*** empty log message ***

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago * tracepoint.c (tracepoint_opertation): Add ui event
kseitz [Thu, 7 Jun 2001 22:02:18 +0000 (22:02 +0000)]
* tracepoint.c (tracepoint_opertation): Add ui event
notifications.
(trace_pass_command): Ditto.

23 years agoJeff Law sepped down as HP/UX maintainer.
cagney [Thu, 7 Jun 2001 21:43:00 +0000 (21:43 +0000)]
Jeff Law sepped down as HP/UX maintainer.

23 years agoDoco write-after-approval criteria.
cagney [Thu, 7 Jun 2001 21:03:48 +0000 (21:03 +0000)]
Doco write-after-approval criteria.

23 years ago* gdbarch.sh: Make sure that '[' doesn't interpret interesting
jimb [Thu, 7 Jun 2001 20:52:47 +0000 (20:52 +0000)]
* gdbarch.sh: Make sure that '[' doesn't interpret interesting
variable values as operators.

23 years ago * gdb-events.sh: Fix quote escaping which was obsoleted
kseitz [Thu, 7 Jun 2001 20:18:44 +0000 (20:18 +0000)]
* gdb-events.sh: Fix quote escaping which was obsoleted
by last patch.

23 years ago* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalid
cgf [Thu, 7 Jun 2001 19:55:06 +0000 (19:55 +0000)]
* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalid
mutexs - user programs are allowed to call pthread_cond_broadcast like that.
(__pthread_cond_timedwait): Initialise themutex properly.
(__pthread_cond_wait): Initialise themutex properly.

23 years ago * gdb-events.sh: Make if statements and tests
kseitz [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.

23 years ago* lin-lwp.c (struct lwp_info): Add member `resumed'.
kettenis [Thu, 7 Jun 2001 19:31:09 +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.

23 years ago * MAINTAINTERS: Syd Polk is stepping down from
kseitz [Thu, 7 Jun 2001 18:37:40 +0000 (18:37 +0000)]
* MAINTAINTERS: Syd Polk is stepping down from
maintaining libgui. I am replacing him.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [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 .*".

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [Thu, 7 Jun 2001 17:23:13 +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.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [Thu, 7 Jun 2001 17:18:54 +0000 (17:18 +0000)]
2001-06-07  H.J. Lu  <hjl@gnu.org>

* gas/mips/mips.exp: Set xfail for "lineno" on Linux/mips.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [Thu, 7 Jun 2001 16:52:17 +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.

23 years agoFix typos.
hjl [Thu, 7 Jun 2001 16:48:18 +0000 (16:48 +0000)]
Fix typos.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago2001-06-06 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago * config/mips/tm-irix6.h: New file.
eliz [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.

23 years agos/abort/gdb_assert/
cagney [Thu, 7 Jun 2001 14:51:20 +0000 (14:51 +0000)]
s/abort/gdb_assert/

23 years ago2001-06-07 Andreas Jaeger <aj@suse.de>
aj [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.

23 years ago Some "-Wall" cleanups.
kseitz [Thu, 7 Jun 2001 14:42:59 +0000 (14:42 +0000)]
Some "-Wall" cleanups.

* generic/gdbtk-hooks.c (x_event): Remove unused variable "count".
(tracepoint_notify): Remove superfluous declaration. This funtion
was moved to gdbtk-bp.c.

* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Remove unused variable
"b".
(gdb_set_bp): Remove unused variable "cmd".
(gdb_set_bp_addr): Remove unused variables "cmd" and "filename".

* generic/gdbtk.c (gdbtk_init): Remove unused variables
"auto_path_name", "auto_path_elem", and "found_main".

23 years ago * emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
aj [Thu, 7 Jun 2001 11:18:15 +0000 (11:18 +0000)]
* emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
(TEXT_START_ADDR): Likewise.

23 years ago* gdb.base/return2.exp (main): Use values to test float and double
jimb [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.

23 years ago2001-06-06 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago2001-06-06 H.J. Lu <hjl@gnu.org>
hjl [Thu, 7 Jun 2001 00:57:10 +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.

23 years ago* cp-abi.h: Rearrange code to put documentation comments above the
jimb [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.

23 years ago* gdb.base/return2.exp (main): Use values to test float and double
jimb [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.

23 years agoFix a typo.
hjl [Wed, 6 Jun 2001 21:08:09 +0000 (21:08 +0000)]
Fix a typo.

23 years ago2001-06-06 H.J. Lu <hjl@gnu.org>
hjl [Wed, 6 Jun 2001 21:07:13 +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.

23 years ago2001-06-06 H.J. Lu <hjl@gnu.org>
hjl [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.

23 years ago * Makefile.in (bindist): Reassign value of exec_prefix on make command
earnie [Wed, 6 Jun 2001 19:02:59 +0000 (19:02 +0000)]
* Makefile.in (bindist): Reassign value of exec_prefix on make command
line.

23 years ago2001-06-04 Michael Snyder <msnyder@redhat.com>
msnyder [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.

23 years ago* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
jimb [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.

23 years ago* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
jimb [Wed, 6 Jun 2001 18:22:29 +0000 (18:22 +0000)]
* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.

23 years ago* gdbarch.sh: Changes to effect the following:
jimb [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.

23 years agoRemove L fromlist of accepting listin goptions
nickc [Wed, 6 Jun 2001 17:32:38 +0000 (17:32 +0000)]
Remove L fromlist of accepting listin goptions

23 years agoDelete some unnecessary PTR uses.
cagney [Wed, 6 Jun 2001 17:12:30 +0000 (17:12 +0000)]
Delete some unnecessary PTR uses.

23 years agoRemove warnings building z8k port.
nickc [Wed, 6 Jun 2001 17:01:33 +0000 (17:01 +0000)]
Remove warnings building z8k port.
Fix ld -r behaviour

23 years ago* arch-utils.c (generic_prepare_to_proceed): Allow for having
jlarmour [Wed, 6 Jun 2001 16:31:30 +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.

23 years ago* gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
jimb [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.

23 years ago * gdb-events.sh (function_list): Add tracepoint_create,
kseitz [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.

23 years agoRegenerate...
kseitz [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.

23 years ago * gdb-events.sh: Update copyrights.
kseitz [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.

23 years agocorrect some 68k/ColdFire problems
nickc [Wed, 6 Jun 2001 14:27:59 +0000 (14:27 +0000)]
correct some 68k/ColdFire problems

23 years ago * ld-undefined/undefined.exp: Add a setup_xfail line for a test
amodra [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.

23 years ago * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
amodra [Wed, 6 Jun 2001 12:11:23 +0000 (12:11 +0000)]
* configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.

23 years ago * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
amodra [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.

23 years ago* config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
amodra [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.

23 years ago * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
eliz [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.

23 years ago * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
amodra [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.

23 years ago * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
amodra [Wed, 6 Jun 2001 10:23:38 +0000 (10:23 +0000)]
* config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
<JumpByte, JumpDword insn output>: Remove dead code.

23 years ago * as.c (parse_args): Correct option name "listing-lhs-width2".
amodra [Wed, 6 Jun 2001 03:42:24 +0000 (03:42 +0000)]
* as.c (parse_args): Correct option name "listing-lhs-width2".

23 years ago2001-06-05 Martin Hunt <hunt@redhat.com>
hunt [Tue, 5 Jun 2001 22:01:20 +0000 (22:01 +0000)]
2001-06-05  Martin Hunt  <hunt@redhat.com>
* generic/gdbtk.c (_initialize_gdbtk): Don't close console yet.
(gdbtk_init): Wait until after tcl/tk stuff is all initialized
to close console (on Windows) and redirect ouput.

23 years ago2001-06-05 Martin Hunt <hunt@redhat.com>
hunt [Tue, 5 Jun 2001 21:59:54 +0000 (21:59 +0000)]
2001-06-05  Martin Hunt  <hunt@redhat.com>

* library/globalpref.itb(build_win): Don't change directory
before building icon combobox.  Add debug lines.

23 years ago * fhandler_console.cc (fhandler_console::dup): Allocate space for
corinna [Tue, 5 Jun 2001 17:59:46 +0000 (17:59 +0000)]
    * fhandler_console.cc (fhandler_console::dup): Allocate space for
        savebuf on Cygwin heap.
        (fhandler_console::char_command): Ditto. Use correct values for size.

23 years ago* security.h (NTWriteEA): Change prototype.
duda [Tue, 5 Jun 2001 10:45:52 +0000 (10:45 +0000)]
* security.h (NTWriteEA): Change prototype.
* ntea.cc (NTReadEA): Don't check for global ntea setting, now
it's caller responsibility.
(NTWriteEA): Ditto.
* security.cc (get_file_attribute): Read attribute from EA only
if 'ntea' is enabled.
(set_file_attribute): Ditto.
* path.h: (class path_conv): Add members to store file system
information.
(path_conv::get_drive_type): New function.
* syscalls.cc (stat_worker): Use it.
* path.cc (path_conv::update_fs_info): New functions.
(path_conv::check): Get file system information from device where
file resides. On NTFS, try to read symlink contents from EA.
(get_symlink_ea): New function.
(set_symlink_ea): Ditto.
(symlink): Store symlink in extended attribute, if possible.