OSDN Git Service
jason [Thu, 10 Jan 2002 00:06:02 +0000 (00:06 +0000)]
* c-typeprint.c (is_type_conversion_operator): Fix thinko.
gdbadmin [Thu, 10 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 9 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update
msnyder [Wed, 9 Jan 2002 22:32:14 +0000 (22:32 +0000)]
2002-01-09 Michael Snyder <msnyder@redhat.com>
* i386-linux-nat.c (fill_fpxregset): Make global.
(store_fpxregset): Ditto.
corinna [Wed, 9 Jan 2002 20:57:55 +0000 (20:57 +0000)]
* net.cc (cygwin_accept): Set sun_path for newly connected socket.
msnyder [Wed, 9 Jan 2002 20:48:42 +0000 (20:48 +0000)]
2002-01-09 Michael Snyder <msnyder@redhat.com>
* gregset.h (gdb_fpxregset_t): Define.
(supply_fpxregset): Prototype.
(fill_fpxregset): Prototype.
thorpej [Wed, 9 Jan 2002 18:59:10 +0000 (18:59 +0000)]
include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.
bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
msnyder [Wed, 9 Jan 2002 18:49:21 +0000 (18:49 +0000)]
2002-01-09 Michael Snyder <msnyder@redhat.com>
* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
rearnsha [Wed, 9 Jan 2002 18:39:36 +0000 (18:39 +0000)]
* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
* config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
cagney [Wed, 9 Jan 2002 18:33:20 +0000 (18:33 +0000)]
Update target section.
rearnsha [Wed, 9 Jan 2002 18:27:53 +0000 (18:27 +0000)]
Fix formatting of ChangeLog entry in previous commit.
rearnsha [Wed, 9 Jan 2002 18:07:48 +0000 (18:07 +0000)]
MAINTAINERS (write-after-approval): Add myself.
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
IN_SIGTRAMP.
thorpej [Wed, 9 Jan 2002 18:05:48 +0000 (18:05 +0000)]
* readelf.c: Update copyright years.
(get_note_type): Return a const char *.
(get_netbsd_elfcore_note_type): New function.
(process_note): Use get_netbsd_elfcore_note_type to get
the note type string for NetBSD ELF core files.
rearnsha [Wed, 9 Jan 2002 16:59:05 +0000 (16:59 +0000)]
* gas/arm/float.s: Don't use VFP register names in fpa instructions.
nickc [Wed, 9 Jan 2002 15:08:21 +0000 (15:08 +0000)]
General format tidy ups
nickc [Wed, 9 Jan 2002 14:59:22 +0000 (14:59 +0000)]
Fix bug detected by GDB testsuite - when fetching registers more than 4
bytes wide return 0 for the other bytes.
hjl [Wed, 9 Jan 2002 07:30:35 +0000 (07:30 +0000)]
2002-01-08 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-rel.s: New tests for nested ().
* gas/mips/elf-rel.d: Modified for nested () tests.
* gas/mips/elfel-rel.d: Likewise.
msnyder [Wed, 9 Jan 2002 02:21:23 +0000 (02:21 +0000)]
2002-01-08 Michael Snyder <msnyder@redhat.com>
* linux-proc.c (child_pid_to_exec_file): Use readlink to get the
real name of the executable, rather than the /proc name.
msnyder [Wed, 9 Jan 2002 00:37:40 +0000 (00:37 +0000)]
2002-01-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: New test for generate-core-file command.
* gdb.base/gcore.c: Testcase for above.
* gdb.threads/gcore-thread.exp: New test for gcore (threaded).
msnyder [Wed, 9 Jan 2002 00:36:57 +0000 (00:36 +0000)]
2002-01-03 Michael Snyder <msnyder@redhat.com>
Implement a "generate-core-file" command in gdb, save target state.
* gcore.c: New file. Implement new command 'generate-core-file'.
Save a corefile image of the current state of the inferior.
* linux-proc.c: Add linux-specific code for saving corefiles.
* target.h (struct target_ops): Add new target vectors for saving
corefiles; to_find_memory_regions and to_make_corefile_notes.
(target_find_memory_regions): New macro.
(target_make_corefile_notes): New macro.
* target.c (update_current_target): Inherit new target methods.
(dummy_find_memory_regions): New place-holder method.
(dummy_make_corefile_notes): New place-holder method.
(init_dummy_target): Initialize new dummy target vectors.
* exec.c (exec_set_find_memory_regions): New function.
Allow the exec_ops vector for memory regions to be taken over.
(exec_make_note_section): New function, target vector method.
* defs.h (exec_set_find_memory_regions): Export prototype.
* procfs.c (proc_find_memory_regions): New function, corefile method.
(procfs_make_note_section): New function, corefile method.
(init_procfs_ops): Set new target vector pointers.
(find_memory_regions_callback): New function.
(procfs_do_thread_registers): New function.
(procfs_corefile_thread_callback): New function.
* sol-thread.c (sol_find_memory_regions): New function.
(sol_make_note_section): New function.
(init_sol_thread_ops): Initialize new target vectors.
* inftarg.c (inftarg_set_find_memory_regions): New function.
Allow to_find_memory_regions vector to be taken over.
(inftarg_set_make_corefile_notes): New function.
Allow to_make_corefile_notes vector to be taken over.
* thread-db.c (thread_db_new_objfile): Don't activate thread-db
interface layer if not target_has_execution (may be a corefile).
* config/i386/linux.mh: Add gcore.o to NATDEPFILES.
* config/sparc/sun4sol2.mh: Ditto.
* config/alpha/alpha-linux.mh: Ditto.
* config/arm/linux.mh: Ditto.
* config/i386/x86-64linux.mh: Ditto.
* config/ia64/linux.mh: Ditto.
* config/m68k/linux.mh: Ditto.
* config/mips/linux.mh: Ditto.
* config/powerpc/linux.mh: Ditto.
* config/sparc/linux.mh: Ditto.
gdbadmin [Wed, 9 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 8 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update
msnyder [Tue, 8 Jan 2002 22:14:15 +0000 (22:14 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* arm-linux-nat.c: Remove references to regcache.c internal data
(registers[] and register_valid[]).
msnyder [Tue, 8 Jan 2002 22:09:46 +0000 (22:09 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* linux-proc.c: New file. Implement child_pid_to_exec_file,
so that attaching to a pid will automatically read the process's
symbol file and shlibs.
* Makefile.in: Add rule for linux-proc.o.
* config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
* config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
* config/arm/linux.mh: Ditto.
* config/i386/linux.mh: Ditto.
* config/i386/x86-64linux.mh: Ditto.
* config/ia64/linux.mh: Ditto.
* config/m68k/linux.mh: Ditto.
* config/mips/linux.mh: Ditto.
* config/powerpc/linux.mh: Ditto.
* config/sparc/linux.mh: Ditto.
msnyder [Tue, 8 Jan 2002 21:33:23 +0000 (21:33 +0000)]
Fix typo.
msnyder [Tue, 8 Jan 2002 21:31:34 +0000 (21:31 +0000)]
2002-01-08 Michael Snyder <msnyder@redhat.com>
Add capability to write corefile note sections, for gdb.
* elf.c (elfcore_write_note): New function.
(elfcore_write_prpsinfo): New function.
(elfcore_write_prstatus): New function.
(elfcore_write_pstatus): New function.
(elfcore_write_prfpreg): New function.
(elfcore_write_prxfpreg): New function.
* elf-bfd.h: Add prototypes for above functions.
kseitz [Tue, 8 Jan 2002 20:21:44 +0000 (20:21 +0000)]
* generic/gdbtk-cmds.c (gdb_find_file_command): If the symtab
doesn't have the filename's fullname, look it up with
symtab_to_filename.
kseitz [Tue, 8 Jan 2002 19:57:21 +0000 (19:57 +0000)]
* library/srcwin.itb (location): Fix typo. It's "addr" not
"address".
tromey [Tue, 8 Jan 2002 19:34:47 +0000 (19:34 +0000)]
* library/interface.tcl (gdbtk_tcl_preloop): Use current directory
when `--args' given.
msnyder [Tue, 8 Jan 2002 18:55:26 +0000 (18:55 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
instead of bfd_get_arch_size. Don't bail out just because
there's no exec_bfd.
aoliva [Tue, 8 Jan 2002 16:42:57 +0000 (16:42 +0000)]
* elf.c (elf_fake_sections): Propagate errors from
elf_backend_fake_section.
jason [Tue, 8 Jan 2002 16:00:11 +0000 (16:00 +0000)]
* gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
aoliva [Tue, 8 Jan 2002 14:56:08 +0000 (14:56 +0000)]
* ldlang.c (walk_wild_section): Exclude object file if enclosing
archive is excluded.
muller [Tue, 8 Jan 2002 08:26:41 +0000 (08:26 +0000)]
2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c: Add i386-tdep.h dependency.
fnf [Tue, 8 Jan 2002 05:37:42 +0000 (05:37 +0000)]
Approved by mec@shout.net.
2002-01-07 Fred Fish <fnf@redhat.com>
* gdb.c++/overload.exp: Remove unconditional xfails for:
print foo_instance1.overloadargs(1)
print foo_instance1.overloadargs(1, 2)
print foo_instance1.overloadargs(1, 2, 3)
print foo_instance1.overloadargs(1, 2, 3, 4)
print foo_instance1.overloadargs(1, 2, 3, 4, 5)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
print foo_instance1.overload1arg()
print foo_instance1.overload1arg((char)arg2)
print foo_instance1.overload1arg((signed char)arg3)
print foo_instance1.overload1arg((unsigned char)arg4)
print foo_instance1.overload1arg((int)arg7)
print foo_instance1.overload1arg((unsigned int)arg8)
print foo_instance1.overload1arg((float)arg11)
print foo_instance1.overload1arg((double)arg12)
cgf [Tue, 8 Jan 2002 04:51:01 +0000 (04:51 +0000)]
* Makefile.in: Add uninstall target.
thorpej [Tue, 8 Jan 2002 04:22:48 +0000 (04:22 +0000)]
bfd:
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
(elf32-sh-nbsd.lo): New rule.
* Makefile.in: Regenerate.
* config.bfd (sh*le-*-netbsdelf*): New target.
(sh*-*-netbsdelf*): New target.
* configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
(bfd_elf32_shnbsd_vec): New vector.
(bfd_elf32_shlnbsd_vec): New vector.
* configure: Regenerate.
* elf32-sh-nbsd.c: New file.
* targets.c: Update copyright years.
(_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
bfd_elf32_shnbsd_vec.
gas:
* configure.in (sh*le): Set cpu_type=sh and endian=little.
(sh*-*-netbsdelf*): New target.
* configure: Regenerate.
* tc-sh.h: Update copyright years.
(TARGET_FORMAT): Add version for TE_NetBSD.
ld:
* Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
(eshelf_nbsd.c): New rule.
(eshlelf_nbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (sh*le-*-netbsdelf*): New target.
(sh*-*-netbsdelf*): New target.
* emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
* ld/emulparams/shelf_nbsd.sh: New emulation.
* ld/emulparams/shlelf_nbsd.sh: New emulation.
msnyder [Tue, 8 Jan 2002 02:09:28 +0000 (02:09 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* cp-valprint.c (cp_print_value): FIXME comment, alloca size.
* p-valprint.c (pascal_object_print_value): Ditto.
* somread.c (som_symtab_read): Ditto.
* symfile.c (simple_free_overlay_region_table): Ditto.
* valops.c (value_assign): Ditto.
msnyder [Tue, 8 Jan 2002 02:04:12 +0000 (02:04 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
can be overridden with whatever value is appropriate to the host).
* infttrace.c (child_xfer_memory): Add FIXME warning about use of
alloca to allocate potentially large buffer.
* rs6000-nat.c (child_xfer_memory): Ditto.
* symm-nat.c (child_xfer_memory): Ditto.
* x86-64-linux-nat.c (child_xfer_memory): Ditto.
msnyder [Tue, 8 Jan 2002 01:52:08 +0000 (01:52 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (tracepoint_save_command): From Klee Deines --
use tilde_expand and strerror for opening save-tracepoints file.
msnyder [Tue, 8 Jan 2002 01:34:10 +0000 (01:34 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* thread-db.c (thread_db_new_objfile): Indendation fix.
bje [Tue, 8 Jan 2002 01:24:56 +0000 (01:24 +0000)]
2002-01-08 Ben Elliston <bje@redhat.com>
* lib/monkey.exp (monkey_stop): Delete monkey.conf on success.
msnyder [Tue, 8 Jan 2002 01:00:06 +0000 (01:00 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* gdb.base/huge.exp: New test. Print a very large target data object.
(skip_huge_test): New test variable. Define if you want to skip this
test. The test reads an 8 megabyte data object from the target, so it
might be very time consuming on remote targets with a slow connection.
* gdb.base/huge.c: New file. Test case for above.
msnyder [Tue, 8 Jan 2002 00:59:24 +0000 (00:59 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
can be overridden with whatever value is appropriate to the host).
* infttrace.c (child_xfer_memory): Add FIXME warning about use of
alloca to allocate potentially large buffer.
* rs6000-nat.c (child_xfer_memory): Ditto.
* symm-nat.c (child_xfer_memory): Ditto.
* x86-64-linux-nat.c (child_xfer_memory): Ditto.
aldyh [Tue, 8 Jan 2002 00:28:36 +0000 (00:28 +0000)]
* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.
gdbadmin [Tue, 8 Jan 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 7 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Mon, 7 Jan 2002 22:18:35 +0000 (22:18 +0000)]
* sigproc.cc (getsem): Clean up debugging output.
fnf [Mon, 7 Jan 2002 21:23:35 +0000 (21:23 +0000)]
Approved by med@shout.net:
2002-01-07 Fred Fish <fnf@redhat.com>
* gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
g_instance.bfoo, and g_instance.cfoo.
jsmith [Mon, 7 Jan 2002 20:43:45 +0000 (20:43 +0000)]
2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
From Nick Clifton <nickc@redhat.com>
* d10v-tdep.c: Set STACK_START to 0x200bffe.
msnyder [Mon, 7 Jan 2002 19:45:12 +0000 (19:45 +0000)]
2002-01-07 Michael Snyder <msnyder@redhat.com>
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
Don't use exec_bfd if it's NULL.
jjohnstn [Mon, 7 Jan 2002 19:44:59 +0000 (19:44 +0000)]
2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
* Change reference to Cygnus Solutions to be Red Hat.
jjohnstn [Mon, 7 Jan 2002 19:40:40 +0000 (19:40 +0000)]
2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update generic copyright date.
jjohnstn [Mon, 7 Jan 2002 19:37:40 +0000 (19:37 +0000)]
2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
* MAINTAINERS: Change e-mail addresses to refer to redhat domain.
jjohnstn [Mon, 7 Jan 2002 19:33:22 +0000 (19:33 +0000)]
2002-01-07 Alan Matsuoka <alanm@redhat.com>
* libc/include/machine/ieeefp.h: Configure d10v doubles to
be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
libc/include/sys/config.h: Ditto.
law [Mon, 7 Jan 2002 19:21:26 +0000 (19:21 +0000)]
* gdb.base/break.c (multi_line_if_conditional): New function.
(multi_ilne_while_conditional): Likewise.
* gdb.base/break.exp: Verify that a breakpoint on a multi-line
IF or WHILE condition puts the breakpoint at the start of
the condition.
law [Mon, 7 Jan 2002 19:20:08 +0000 (19:20 +0000)]
* gdb.base/selftest.exp (backtrace through signal handler): Remove
hppa*-*-hpux* expected failure.
* gdb.base/structs.exp (do_function_calls): Similarly.
* gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
watchpoints.
msalter [Mon, 7 Jan 2002 18:14:04 +0000 (18:14 +0000)]
ARM support added to libgloss
msalter [Mon, 7 Jan 2002 18:12:30 +0000 (18:12 +0000)]
Add ARM support
geoffk [Mon, 7 Jan 2002 17:55:36 +0000 (17:55 +0000)]
* elflink.h (elf_link_input_bfd): Don't ask for the merged offset
of a symbol in a section that will be deleted.
nickc [Mon, 7 Jan 2002 17:51:17 +0000 (17:51 +0000)]
do not allow size or nbytes to go negative.
nickc [Mon, 7 Jan 2002 17:37:39 +0000 (17:37 +0000)]
Add spanish translation files
nickc [Mon, 7 Jan 2002 17:32:41 +0000 (17:32 +0000)]
Note that --emit-relocs is currently only implemented for ELF.
cgf [Mon, 7 Jan 2002 16:47:11 +0000 (16:47 +0000)]
* sigproc.cc (getsem): Set errno when unable to create own semaphore.
Reorganize to make clearer that error should only come from initial creation of
process semaphore.
nickc [Mon, 7 Jan 2002 12:12:46 +0000 (12:12 +0000)]
Rotate ChangeLog
nickc [Mon, 7 Jan 2002 12:10:13 +0000 (12:10 +0000)]
Rotated ChangeLog
irox [Mon, 7 Jan 2002 09:52:42 +0000 (09:52 +0000)]
2002-01-07 Phil Edwards <pedwards@disaster.jaj.com>
* unix/Makefile.in: When installing the tix
shared library check in the "tk8.1" and "tk8.3"
subdirectories for the library.
eliz [Mon, 7 Jan 2002 09:28:43 +0000 (09:28 +0000)]
* gdb.texinfo (Tracepoints): Clarify that tracepoints need support
in the stub.
irox [Mon, 7 Jan 2002 08:58:46 +0000 (08:58 +0000)]
* library/srcbar.itcl (SrcBar::create_buttons): Line number
and address fields have been removed and added to the
status bar.
* library/srcwin.itb (SrcWin::_build_win): Add address and
line number fields to status bar. Moved download progress
bar to status bar.
(SrcWin::download_progress): Use canvas on status bar.
Remember to adjust width of 64-bit address.
(SrcWin::location): Set line number and address on status bar.
* library/srcwin.ith (SrcWin): Added new private variable.
bje [Mon, 7 Jan 2002 08:23:59 +0000 (08:23 +0000)]
2002-01-07 Ben Elliston <bje@redhat.com>
* utils.scm (package-cygnus-simulators): Rename from this ..
(package-red-hat-simulators): .. to this.
* opcodes.scm (option-set!): Use package-red-hat-simulators.
* sid-cpu.scm (cgen-desc.h): Likewise.
(cgen-cpu.h): Likewise.
(cgen-defs.h): Likewise.
(cgen-write.cxx): Likewise.
(cgen-semantics.cxx): Likewise.
(cgen-sem-switch.cxx): Likewise.
* sid-decode.scm (cgen-decode.h): Likewise.
(cgen-decode.cxx): Likewise.
* sid-model.scm (cgen-model.cxx): Likewise.
* sid.scm (option-set!): Likewise.
* sim.scm (option-set!): Likewise.
bje [Mon, 7 Jan 2002 07:05:05 +0000 (07:05 +0000)]
2002-01-07 Ben Elliston <bje@redhat.com>
* utils.scm (copyright-fsf): Add 2002.
(copyright-cygnus): Rename to copyright-red-hat.
(copyright-red-hat): Add 2002.
(CURRENT-COPYRIGHT): Update comment.
* opcodes.scm (option-set!): Update callers.
* sid-model.scm (cgen-model.cxx): Likewise.
* sid-cpu.scm: Likewise.
* sid-decode.scm: Likewise.
* sid.scm (option-set!): Handle "redhat" as an option for
"copyright"; use copyright-red-hat.
* sim.scm (option-set!): Likewise.
gdbadmin [Mon, 7 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 6 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 6 Jan 2002 22:09:08 +0000 (22:09 +0000)]
* valops.c (value_arg_coerce): Fix formatting.
cagney [Sun, 6 Jan 2002 19:18:28 +0000 (19:18 +0000)]
<string.h> -> "gdb_string.h"
cagney [Sun, 6 Jan 2002 19:10:24 +0000 (19:10 +0000)]
Doco which targets are not multi-arch.
cgf [Sun, 6 Jan 2002 17:29:41 +0000 (17:29 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Add some defensive code to
invalid handle case.
cagney [Sun, 6 Jan 2002 15:02:00 +0000 (15:02 +0000)]
* MAINTAINERS: Mark a29k target as obsolete.
* Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
(remote-mm.o, remote-udi.o): Obsolete. Remove references in
comments.
* NEWS: Note that a29k targets are obsolete.
* a29k-tdep.c: Mark as obsolete.
* configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
a29k-*-vxworks* targets as obsolete.
* remote-adapt.c: Obsolete.
* remote-eb.c: Obsolete.
* remote-mm.c: Obsolete.
* remote-udi.c: Obsolete.
* config/a29k/a29k-udi.mt: Obsolete.
* config/a29k/a29k.mt: Obsolete.
* config/a29k/tm-a29k.h: Obsolete.
* config/a29k/tm-vx29k.h: Obsolete.
* config/a29k/vx29k.mt: Obsolete.
cagney [Sun, 6 Jan 2002 14:42:39 +0000 (14:42 +0000)]
Fix PR gdb/66.
* gdb.base/structs.exp: Replace skip for a29k with skip for
gdb,cannot_call_functions.
* gdb.base/call-ar-st.exp: Remove references to a29k in comments.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/call-strs.exp: Ditto.
* gdb.base/callfwmall.exp: Ditto.
* gdb.base/scope.exp: Obsolete xfail a29k.
* gdb.c++/misc.exp: Ditto.
* gdb.c++/cplusfuncs.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/printcmds.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/default.exp: Ditto.
amodra [Sun, 6 Jan 2002 12:15:44 +0000 (12:15 +0000)]
* config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
* config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
amodra [Sun, 6 Jan 2002 11:14:18 +0000 (11:14 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Add target vector as
argument so we can handle HP-UX specially.
(elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
(elfNN_hpux_backend_section_from_bfd_section): New for support
of SHN_IA_64_ANSI_COMMON.
(elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
(is_unwind_section_name): Add special HP-UX support.
(elfNN_ia64_section_from_shdr): Add support for more sections.
(elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
add support for more sections.
(elfNN_ia64_additional_program_headers): Modify
is_unwind_section_name call.
(elfNN_ia64_modify_segment_map): Remove assumption that there is
only one unwind section in segment.
amodra [Sun, 6 Jan 2002 11:13:31 +0000 (11:13 +0000)]
* readelf.c (get_ia64_segment_type): Add support for macros.
(get_segment_type): Add support for IA64 specific macros.
amodra [Sun, 6 Jan 2002 11:12:38 +0000 (11:12 +0000)]
* ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
(SHT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_HSL_ANOT): Ditto
(PT_IA_64_HP_STACK): Ditto
(SHN_IA_64_ANSI_COMMON): Ditto
corinna [Sun, 6 Jan 2002 09:28:13 +0000 (09:28 +0000)]
* ioctl.cc (ioctl): Make third argument optional.
* include/sys/ioctl.h: Ditto in declaration.
* dtable.cc (dtable::init_std_file_from_handle): Revert previous
bogus patch.
* window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB
message.
amodra [Sun, 6 Jan 2002 07:30:34 +0000 (07:30 +0000)]
* syms.c (_bfd_generic_make_empty_symbol): New function.
* libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
_bfd_generic_make_empty_symbol.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
(hppabsd_core_get_symtab_upper_bound): Don't define.
(hppabsd_core_get_symtab): Likewise.
(hppabsd_core_print_symbol): Likewise.
(hppabsd_core_get_symbol_info): Likewise.
(hppabsd_core_bfd_is_local_label_name): Likewise.
(hppabsd_core_get_lineno): Likewise.
(hppabsd_core_find_nearest_line): Likewise.
(hppabsd_core_bfd_make_debug_symbol): Likewise.
(hppabsd_core_read_minisymbols): Likewise.
(hppabsd_core_minisymbol_to_symbol): Likewise.
(hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
Formatting fixes.
* hpux-core.c: Similarly.
* irix-core.c: Similarly.
* osf-core.c: Similarly.
* sco5-core.c: Similarly.
* binary.c (binary_make_empty_symbol): Remove function, define as
_bfd_generic_make_empty_symbol.
* ihex.c (ihex_make_empty_symbol): Likewise.
* mmo.c (mmo_make_empty_symbol): Likewise.
* ppcboot.c (ppcboot_make_empty_symbol): Likewise.
* srec.c (srec_make_empty_symbol): Likewise.
* versados.c (versados_make_empty_symbol): Likewise.
* vms.c (_bfd_vms_make_empty_symbol): Remove.
(vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
* vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
rather than _bfd_vms_make_empty_symbol.
* vms-misc.c (new_symbol): Likewise.
cagney [Sun, 6 Jan 2002 04:50:55 +0000 (04:50 +0000)]
last? remaining BIG_ENDIAN switch
cagney [Sun, 6 Jan 2002 04:37:52 +0000 (04:37 +0000)]
Move changelog to correct position.
cgf [Sun, 6 Jan 2002 03:32:31 +0000 (03:32 +0000)]
* dir.cc (opendir): Guarantee release of alloced fhandler structure on error.
gdbadmin [Sun, 6 Jan 2002 00:01:03 +0000 (00:01 +0000)]
*** empty log message ***
amodra [Sat, 5 Jan 2002 23:00:06 +0000 (23:00 +0000)]
daily update
corinna [Sat, 5 Jan 2002 22:25:34 +0000 (22:25 +0000)]
exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
cagney [Sat, 5 Jan 2002 22:06:38 +0000 (22:06 +0000)]
Don't include <endian.h>
drow [Sat, 5 Jan 2002 19:06:51 +0000 (19:06 +0000)]
2002-01-05 Daniel Jacobowitz <drow@mvista.com>
* tc-mips.c (mips_cprestore_valid): New flag.
(mips_frame_reg_valid): New flag.
(macro) [M_JAL_2]: Check both flags.
[M_JAL_A]: Likewise.
(s_cprestore): Set mips_cprestore_valid.
(tc_get_register): If setting mips_frame_reg, set
mips_frame_reg_valid and clear mips_cprestore_valid.
(s_mips_ent): Clear both flags.
(s_mips_end): Clear both flags.
2002-01-05 Daniel Jacobowitz <drow@mvista.com>
* gas/mips/jal-svr4pic.s: Add .ent and .frame directives.
* gas/mips/mips-abi32-pic.s: Add .frame directive.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
corinna [Sat, 5 Jan 2002 18:42:52 +0000 (18:42 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
handle as errorneous.
thorpej [Sat, 5 Jan 2002 18:36:31 +0000 (18:36 +0000)]
* acconfig.h (HAVE_PT_GETXMMREGS): New.
* config.in: Regenerate.
* configure.in: Update copyright years.
Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
* configure: Regenerate.
* i386bsd-nat.c: Update copyright years.
(fill_gregset): Use regcache_collect.
(fetch_inferior_registers): Only fetch integer registers
if requested to do so. Add support for XMM registers
using PT_GETXMMREGS.
(store_inferior_registers): Only store integer registers
if requested to do so. Add support for XMM registers
using PT_SETXMMREGS.
* i386nbsd-nat.c (fetch_inferior_registers): Remove.
(store_inferior_registers): Remove.
(fetch_core_registers): Use supply_gregset and i387_supply_fsave.
(fetch_elfcore_registers): New function.
(i386nbsd_elfcore_fns): New.
(_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
* config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
i386bsd-nat.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
* config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.
* config/i386/tm-nbsd.h: Update copyright years.
(HAVE_SSE_REGS): Define.
(IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
(SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
(SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
(SIGCONTEXT_PC_OFFSET): Remove.
(FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
amodra [Sat, 5 Jan 2002 13:13:59 +0000 (13:13 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
of bfd_section_list_remove and bfd_section_list_insert macros.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
amodra [Sat, 5 Jan 2002 13:13:15 +0000 (13:13 +0000)]
* write.c (write_object_file): Make use of bfd_section_list_remove.
* config/obj-ecoff.c (ecoff_frob_file): Likewise.
* config/tc-mmix.c (mmix_frob_file): Likewise.
amodra [Sat, 5 Jan 2002 13:11:28 +0000 (13:11 +0000)]
* section.c (bfd_section_init): Remove unnecessary initialisations.
(bfd_section_list_clear): New function.
(bfd_section_list_remove, bfd_section_list_insert): New macros.
(_bfd_strip_section_from_output): Use them.
* coffcode.h (coff_set_alignment_hook): Likewise.
* elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
* elf64-mips.c (mips_elf64_final_link): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* bfd-in2.h: Regenerate.
* netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
rather than doing our own section handling. Clean up after errors
with bfd_release and bfd_section_list_clear. Handle unexpected
flags.
* aoutf1.h (sunos4_core_file_p): Likewise.
* aix386-core.c (aix386_core_file_p): Likewise.
* cisco-core.c (cisco_core_file_validate): Likewise.
* ptrace-core.c (ptrace_unix_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.
* hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors
with bfd_release and bfd_section_list_clear.
* hpux-core.c (hpux_core_core_file_p): Likewise.
* irix-core.c (irix_core_core_file_p): Likewise.
* lynx-core.c (lynx_core_file_p): Likewise.
* osf-core.c (osf_core_core_file_p): Likewise.
* rs6000-core.c (rs6000coff_core_p): Likewise.
* sco5-core.c (sco5_core_file_p): Likewise.
amodra [Sat, 5 Jan 2002 12:36:16 +0000 (12:36 +0000)]
* elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
sign extension adjustments without conditionals.
cagney [Sat, 5 Jan 2002 05:54:27 +0000 (05:54 +0000)]
Remove obsolete MacOS support.