OSDN Git Service
eliz [Mon, 25 Feb 2002 16:09:45 +0000 (16:09 +0000)]
Add NM and CFLAGS to the exports.
ths [Mon, 25 Feb 2002 13:21:31 +0000 (13:21 +0000)]
* config/tc-mips.c (set_at): Fix handling of 64bit register loads.
(macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
and NO_PIC cases. Code cleanup.
(macro2): Fix handling of 64bit register loads.
* mips-gp64-fp32-pic.d: Fix test of 64bit register loads.
* mips-gp64-fp32-pic.s: Likewise.
* mips-gp64-fp32.d: Likewise.
* mips-gp64-fp32.s: Likewise.
* mips-gp64-fp64-pic.d: Likewise.
* mips-gp64-fp64-pic.s: Likewise.
* mips-gp64-fp64.d: Likewise.
* mips-gp64-fp64.s: Likewise.
nickc [Mon, 25 Feb 2002 10:34:24 +0000 (10:34 +0000)]
Add documentation of IA64 port
cgf [Mon, 25 Feb 2002 05:27:18 +0000 (05:27 +0000)]
update copyright
amodra [Mon, 25 Feb 2002 05:10:44 +0000 (05:10 +0000)]
* gas/hppa/reloc/reloc.exp: Update copyright date.
amodra [Mon, 25 Feb 2002 05:10:07 +0000 (05:10 +0000)]
* config/tc-hppa.c: Update copyright date.
amodra [Mon, 25 Feb 2002 05:09:08 +0000 (05:09 +0000)]
* elf64-hppa.h: Update copyright date.
cagney [Mon, 25 Feb 2002 04:32:58 +0000 (04:32 +0000)]
* Makefile.in (gdb.info): Add explicit path to gdb.texinfo.
Remove reference to 3.12.
amodra [Mon, 25 Feb 2002 04:13:42 +0000 (04:13 +0000)]
missdit
amodra [Mon, 25 Feb 2002 03:44:49 +0000 (03:44 +0000)]
* doc/c-ppc.texi (PowerPC-Opts): Add -mpower4 and -maltivec.
Remove references to chip manufacturers.
* config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
Correct comments.
(md_show_usage): Remove references to chip manufacturers. Mention
-mpower4.
(md_begin): Test power4 opcode flag bits.
amodra [Mon, 25 Feb 2002 03:44:15 +0000 (03:44 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
(ppc64_elf_relocate_section): Don't generate power4 style branch
hints for *_BRTAKEN and *_BRNTAKEN relocs.
amodra [Mon, 25 Feb 2002 03:43:46 +0000 (03:43 +0000)]
* ppc-dis.c (powerpc_dialect): Handle power4 option.
* ppc-opc.c (insert_bdm): Correct description of "at" branch
hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour.
(extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise.
(BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc.
(BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise.
(PPCCOM32, PPCCOM64): Delete.
(NOPOWER4, POWER4): Define.
(powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4,
and PPCCOM4 with POWER4 so that "at" style branch hint opcodes
are enabled for power4 rather than ppc64.
amodra [Mon, 25 Feb 2002 03:42:59 +0000 (03:42 +0000)]
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
drow [Mon, 25 Feb 2002 02:49:02 +0000 (02:49 +0000)]
2002-02-24 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/configure.srv: New file.
* gdbserver/configure.in: Use configure.srv instead
of the host/target makefile fragments. Set GDBSERVER_DEPFILES
from it.
* gdbserver/configure: Regenerated.
* gdbserver/terminal.h: New file.
* gdbserver/Makefile.in: Update for configure changes. Remove
more unneeded include paths.
irox [Mon, 25 Feb 2002 02:47:48 +0000 (02:47 +0000)]
Checked in for Mo DeJong <supermo@bayarea.net>
* src/Makefile.am: Add -DSTATIC_BUILD so
that no __declspec() is used in function
delarations. This fixes the build under VC++.
* src/Makefile.in: Regen.
drow [Mon, 25 Feb 2002 02:47:23 +0000 (02:47 +0000)]
2002-02-24 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/configure.srv: New file.
* gdbserver/configure.in: Use configure.srv instead
of the host/target makefile fragments. Set GDBSERVER_DEPFILES
from it.
* gdbserver/configure: Regenerated.
* gdbserver/terminal.h: New file.
* gdbserver/Makefile.in: Update for configure changes. Remove
more unneeded include paths.
cagney [Mon, 25 Feb 2002 02:13:07 +0000 (02:13 +0000)]
Fix PR gdb/287. From wiz at danbala. Then->than and typos.
gdbadmin [Mon, 25 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 24 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Sun, 24 Feb 2002 22:56:03 +0000 (22:56 +0000)]
s/Linux/.../
Fix PR gdb/378.
cagney [Sun, 24 Feb 2002 22:31:19 +0000 (22:31 +0000)]
s/Linux/.../
Fix PR gdb/378.
cagney [Sun, 24 Feb 2002 22:14:32 +0000 (22:14 +0000)]
s/Linux/.../
Fix PR gdb/378.
cagney [Sun, 24 Feb 2002 21:53:00 +0000 (21:53 +0000)]
* lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
with either ``GNU/Linux'' or ``Linux kernel''.
Fix PR gdb/378.
ezannoni [Sun, 24 Feb 2002 20:52:48 +0000 (20:52 +0000)]
Rename local ChangeLog and ChangeLog.Cygnus files to ChangeLog.gdb.
chastain [Sun, 24 Feb 2002 20:37:56 +0000 (20:37 +0000)]
2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement.
(thread2): Likewise.
(foo): Likewise.
chastain [Sun, 24 Feb 2002 20:36:48 +0000 (20:36 +0000)]
2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement.
(thread2): Likewise.
(foo): Likewise.
cagney [Sun, 24 Feb 2002 17:18:25 +0000 (17:18 +0000)]
* gdbint.texinfo: Include fdl.texi.
(Top): Add GNU Free Documentation License.
* Makefile.in (SFILES_INCLUDED): Add gpl.texi.
(gdbint.dvi, gdbint.pdf, gdbint.info): Add dependency on fdl.texi.
(gdbint_toc.html): Add dependency on gdb-cfg.texi and fdl.texi.
(gdbint.info): Add srcdir to include path.
* gdb.texinfo: Include gpl.texi.
(Top): Add Copying.
* gpl.texi: New file.
hp [Sun, 24 Feb 2002 17:11:19 +0000 (17:11 +0000)]
* gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d:
Adjust to changes in readelf output.
hp [Sun, 24 Feb 2002 16:44:42 +0000 (16:44 +0000)]
* ld-sh/ld-r-1.d: Adjust to changes in readelf output.
* ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
drow [Sun, 24 Feb 2002 05:19:04 +0000 (05:19 +0000)]
==> dejagnu/ChangeLog <==
2002-02-23 Daniel Jacobowitz <drow@mvista.com>
* config.guess: Import from master sources, rev 1.232.
* config.sub: Import from master sources, rev 1.246.
==> readline/ChangeLog.Cygnus <==
2002-02-24 Daniel Jacobowitz <drow@mvista.com>
* support/config.guess: Import from master sources, rev 1.232.
* support/config.sub: Import from master sources, rev 1.246.
cagney [Sun, 24 Feb 2002 04:31:12 +0000 (04:31 +0000)]
Zap lin-thread.c
cagney [Sun, 24 Feb 2002 03:59:50 +0000 (03:59 +0000)]
* ocd.c (ocd_open): Do not try to open the "ocd" device.
* serial.c (serial_open): Delete check for "ocd".
Fix PR gdb/349.
cagney [Sun, 24 Feb 2002 03:35:38 +0000 (03:35 +0000)]
* Makefile.in (linux-thread.o): Delete target.
* linux-thread.c: Delete file.
cagney [Sun, 24 Feb 2002 01:58:21 +0000 (01:58 +0000)]
* config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
renamed SH files to be consistent.
cagney [Sun, 24 Feb 2002 01:43:59 +0000 (01:43 +0000)]
s/free/xfree/
chastain [Sun, 24 Feb 2002 00:42:39 +0000 (00:42 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.
chastain [Sun, 24 Feb 2002 00:41:07 +0000 (00:41 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.
drow [Sun, 24 Feb 2002 00:03:59 +0000 (00:03 +0000)]
2002-02-23 Daniel Jacobowitz <drow@mvista.com>
* config.guess: Import from master sources, rev 1.232.
* config.sub: Import from master sources, rev 1.246.
gdbadmin [Sun, 24 Feb 2002 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 23 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
rearnsha [Sat, 23 Feb 2002 22:17:11 +0000 (22:17 +0000)]
* arm-linux-tdep.c (arm_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
* config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
definition with undef, since we don't want the sysvr4 definition.
(SKIP_TRAMPOLINE_CODE): Likewise.
cagney [Sat, 23 Feb 2002 21:54:25 +0000 (21:54 +0000)]
* configure.in: (AC_CHECK_FUNCS) Added test for
canonicalize_file_name Regenerated.
* config.in, configure: Regenerated.
* utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
defined use canonicalize_file_name.
chastain [Sat, 23 Feb 2002 21:44:55 +0000 (21:44 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.
jimb [Sat, 23 Feb 2002 21:30:23 +0000 (21:30 +0000)]
Doc fix.
cagney [Sat, 23 Feb 2002 20:59:54 +0000 (20:59 +0000)]
s/cygnus.com/.../
chastain [Sat, 23 Feb 2002 20:57:53 +0000 (20:57 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
test "ptype bint". The test passes on all my stabs configurations.
chastain [Sat, 23 Feb 2002 20:57:10 +0000 (20:57 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
test "ptype bint". The test passes on all my stabs configurations.
corinna [Sat, 23 Feb 2002 20:46:27 +0000 (20:46 +0000)]
* libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
(_stat): Ditto.
cagney [Sat, 23 Feb 2002 20:36:48 +0000 (20:36 +0000)]
From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1003.1-2001 no longer allows "head -1".
* gdb/Makefile.in (version.c): Likewise.
* gdb/doc/Makefile.in (GDBvn.texi): Likewise.
* gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
cagney [Sat, 23 Feb 2002 20:12:12 +0000 (20:12 +0000)]
* cli/cli-decode.c (cmd_cfunc_eq): New function.
* command.h (cmd_cfunc_eq): Declare.
* cli/cli-decode.h (cmd_cfunc_eq): Ditto.
* cli/cli-cmds.h (is_complete_command): Change parameter to a
``struct cmd_list_element *''.
* cli/cli-cmds.c (is_complete_command): Update. Use
cmd_cfunc_eq.
* top.c (execute_command): Pass the command to
is_complete_command.
* tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
cagney [Sat, 23 Feb 2002 20:00:12 +0000 (20:00 +0000)]
From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
* config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
architecture defines.
* s390-tdep.c (s390_gdbarch_init): Likewise.
rearnsha [Sat, 23 Feb 2002 17:07:55 +0000 (17:07 +0000)]
* arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
(arm_linux_push_arguments): Likewise.
(arm_linux_init_abi): Register them. Also register linux-specific
call_dummy_words.
(find_minsym_and_objfile): Use strcmp, not STREQ.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
(arm_linux_call_dummy_words): Delete declaration.
(EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
(arm_linux_extract_return_value, arm_linux_push_arguments): Delete
declarations.
(LOWEST_PC): Delete.
corinna [Sat, 23 Feb 2002 14:37:27 +0000 (14:37 +0000)]
* libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
of off_t.
schauer [Sat, 23 Feb 2002 13:18:36 +0000 (13:18 +0000)]
* maint.c (print_section_info): Do not prepend `0x' to filepos
output, it will be handled by local_hex_string_custom.
rearnsha [Sat, 23 Feb 2002 12:36:49 +0000 (12:36 +0000)]
* arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
(store_newfpe_double, store_newfpe_extended, store_fpregister)
(store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
aoliva [Sat, 23 Feb 2002 10:08:09 +0000 (10:08 +0000)]
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.
jimb [Sat, 23 Feb 2002 03:57:25 +0000 (03:57 +0000)]
Indicate that the bcache functions don't change the strings
they're passed.
* bcache.h (bcache, hash): Add `const' keywords to declarations.
* bcache.c (bcache, hash): Add `const' keywords to definitions.
gdbadmin [Sat, 23 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 22 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
obrien [Fri, 22 Feb 2002 20:36:12 +0000 (20:36 +0000)]
The "2002-02-05 Alan Modra <amodra@bigpond.net.au>" commit also affected
elf32-i386.c
cgf [Fri, 22 Feb 2002 19:33:40 +0000 (19:33 +0000)]
* sync.h (new_muto): Just accept an argument which denotes the name of the
muto. Use this argument to construct static storage.
* cygheap.cc (cygheap_init): Reflect above change.
* exceptions.cc (events_init): Ditto.
* malloc.cc (malloc_init): Ditto.
* path.cc (cwdstuff::init): Ditto.
* cygheap.h (cwdstuff): Change name of lock element to make it less generic.
* path.cc (cwdstuff::get_hash): Ditto.
(cwdstuff::get_initial): Ditto.
(cwdstuff::set): Ditto.
(cwdstuff::get): Ditto.
* sigproc.cc (proc_subproc): Ditto.
* debug.cc (lock_debug): Change to method. Use method rather than macro
throughout.
* tty.h (tty_min::kill_pgrp): Declare new method.
* fhandler_termios.cc (tty_min::kill_pgrp): New method.
(fhandler_termios::line_edit): Use new method for killing process.
* dcrt0.cc (do_exit): Ditto.
* dtable.cc (dtable::get_debugger_info): New method for inheriting dtable info
from a debugger.
* tty.cc (tty_init): Attempt to grab file handle info from parent debugger, if
appropriate. # dtable.cc (dtable::stdio_init): Make this a method.
(dtable::init_std_file_from_handle): Don't set fd unless it's not open.
(dtable::build_fhandler_from_name): Move name setting to
dtable::build_fhandler.
(dtable::build_fhandler): Add win32 name parameter.
* dcrt0.cc (dll_crt0_1): Change to use dtable stdio_init.
* dtable.h (dtable): Reflect build_fhandler parameter change.
* mmap.cc (mmap_record::alloc_fh): Don't set name parameter in build_fhandler.
* net.cc (fdsock): Remove set_name call since it is now handled by
build_fhandler.
* sigproc.cc (proc_subproc): Release muto as early as possible.
corinna [Fri, 22 Feb 2002 18:22:23 +0000 (18:22 +0000)]
* smallprint.c (rn): Allow long long values.
(__small_vsprintf): Add 'D', 'U' and 'X' formats for long long
parameters.
muller [Fri, 22 Feb 2002 17:04:23 +0000 (17:04 +0000)]
2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (child_create_inferior): Fix create flags setting bug.
nickc [Fri, 22 Feb 2002 12:00:38 +0000 (12:00 +0000)]
Fix another spelling typo!
nickc [Fri, 22 Feb 2002 11:59:50 +0000 (11:59 +0000)]
Fix spelling typo
nickc [Fri, 22 Feb 2002 11:57:10 +0000 (11:57 +0000)]
oops - update date on newly created entry
nickc [Fri, 22 Feb 2002 11:56:19 +0000 (11:56 +0000)]
Keep track of prologue counts across .label_state/.copy_state directives
nickc [Fri, 22 Feb 2002 11:37:36 +0000 (11:37 +0000)]
Do not complain if gasp does not exist.
nickc [Fri, 22 Feb 2002 10:49:36 +0000 (10:49 +0000)]
Add missing protoypes.
Remove ANSI style function declarations
jakub [Fri, 22 Feb 2002 10:03:02 +0000 (10:03 +0000)]
* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
last patch.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
irox [Fri, 22 Feb 2002 02:15:45 +0000 (02:15 +0000)]
Checked in for Mo DeJong:
* itk/library/Toplevel.itk (destructor):
* itk/library/Widget.itk (destructor): Remove the
hull component after destroying the hull.
Destroy any component that still exists after
destroying the hull since it must have been
created outside the hull.
* itk/tests/toplevel.test:
* itk/tests/widget.test: Test that a component
outside the hull is destroyed when the mega-widget
is destroyed.
cgf [Fri, 22 Feb 2002 01:35:59 +0000 (01:35 +0000)]
* win32-nat.c (register_loaded_dll): Just use raw name when we can't find the
complete path to a loaded DLL.
fnf [Fri, 22 Feb 2002 00:17:11 +0000 (00:17 +0000)]
Approved by Jim Blandy (jimb@redhat.com).
2002-02-21 Fred Fish <fnf@redhat.com>
* dbxread.c (process_one_symbol): When finding an N_FUN symbol
that marks the end of the range of a function, enter a line number
entry that has a line number of zero and a PC offset that matches
the end of the function. This starts a range of PC's for which no
line number information is known.
* symtab.c (find_pc_sect_line): If our best fit is in a range of
PC's for which no line number info is found (line number is zero)
then we didn't find any valid line information.
* symtab.h: Document use of zero line number entry.
gdbadmin [Fri, 22 Feb 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 21 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
nickc [Thu, 21 Feb 2002 22:39:19 +0000 (22:39 +0000)]
Fix typo.
jimb [Thu, 21 Feb 2002 22:19:11 +0000 (22:19 +0000)]
include:
Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.
libiberty:
* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.
ezannoni [Thu, 21 Feb 2002 22:04:44 +0000 (22:04 +0000)]
2002-02-21 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
(have_ptrace_getvrregs): Define for run time checks.
(gdb_vrregset_t): New type for Altivec register handling.
(fetch_register, store_register): Fetch/store altivec register
when needed.
(fetch_altivec_register, store_altivec_register): New functions.
(supply_vrregset, fill_vrregset): New functions.
(fetch_altivec_registers, store_altivec_registers): New functions.
(fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
registers as well.
jimb [Thu, 21 Feb 2002 20:58:22 +0000 (20:58 +0000)]
* gdb.asm/asm-source.exp: Parse the output from `info sources' one
filename at a time, and watch for the ones we want to see.
jimb [Thu, 21 Feb 2002 20:34:14 +0000 (20:34 +0000)]
* gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
types of pointers to prototyped functions.
kseitz [Thu, 21 Feb 2002 20:22:48 +0000 (20:22 +0000)]
* armos.c (SWIWrite0): Use generic host_callback mechanism
for supported OS functions "open", "close", "write", etc.
(SWIopen): Likewise.
(SWIread): Likewise.
(SWIwrite): Likewise.
(SWIflen): Likewise.
(ARMul_OSHandleSWI): Likewise.
nickc [Thu, 21 Feb 2002 18:09:08 +0000 (18:09 +0000)]
Fix spelling typo
nickc [Thu, 21 Feb 2002 16:50:56 +0000 (16:50 +0000)]
deprecate GASP
aj [Thu, 21 Feb 2002 15:31:52 +0000 (15:31 +0000)]
* elf64-x86-64.c: Major rework that introduces all recent changes
to the x86-64 backend. Get a closer match to elf32-i386.
(struct elf64_x86_64_dyn_relocs): Rename from
elf64_x86_64_pcrel_relocs_copied, add additional fields. Change
all users.
(struct elf64_x86_64_link_hash_table): Add short cuts to some
sections.
(link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc,
remove casts, initialize new hash members.
(create_got_section): New.
(elf64_x86_64_create_dynamic_sections): New.
(elf64_x86_64_copy_indirect_symbol): New.
(elf64_x86_64_check_relocs): Don't allocate space for dynamic
relocs, .got or .relgot here but do it in allocate_dynrelocs.
Reference count possible .plt and .got entries. Don't test input
section SEC_READONLY here to try to avoid copy relocs, and keep
dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set
DF_TEXTREL here. Delay setting of variables until needed. Cache
pointer to "sreloc" section in elf_section_data. Tweak condition
under which .got created. Report files with bad relocation
section names.
(elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
Reference count possible .plt entries. Don't deallocate .got and
.relgot space here.
(elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't
do copy reloc processing for weakdefs. Remove redundant casts and
aborts. Delay setting of vars until needed. Move creation of
dynamic symbols and allocation of .plt and .rela.plt to
allocate_dynrelocs. Replace BFD_ASSERT with abort.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
(allocate_dynrelocs): New.
(readonly_dynrelocs): New.
(elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs.
Allocate space for dyn relocs. Replace BFD_ASSERT with abort.
Zero out the dynamic allocated content space.
(elf64_x86_64_discard_copies): Removed.
(elf64_x86_64_relocate_section): Make use of dynamic section
short-cuts. Localise vars, and delay setting. Better error
reporting, replace BFD_ASSERT with abort. Check
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the
regular object file and tread the weak definition as the normal
one. Don't discard relocs for undefweak or undefined symbols and
check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy
relocs.
(elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for
symbols that have been forced local. Use same test to decide if
we can use a relative reloc for got as relocate_section. Expand
SHN_UNDEF comment. Move expressions out of function calls.
Replace BFD_ASSERT with abort.
(bfd_elf64_bfd_final_link): Removed.
(elf_backend_copy_indirect_symbol): Define.
aj [Thu, 21 Feb 2002 12:48:33 +0000 (12:48 +0000)]
* config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
rearnsha [Thu, 21 Feb 2002 12:19:53 +0000 (12:19 +0000)]
* Makefile.in (armnbsd-nat.o): Update dependencies.
* armnbsd-nat.c (supply_gregset): New function. Common code to
supply the integer register set.
(supply_fparegset): New function. Similar for FPA registers.
(fetch_regs, fetch_fp_regs): Use them.
(fetch_core_registers): Likewise.
(fetch_elfcore_registers): New function.
(arm_netbsd_elfcore_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): Register it.
rearnsha [Thu, 21 Feb 2002 11:15:39 +0000 (11:15 +0000)]
* armnbsd-nat.c: Include gdbcore.h.
(FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
(fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
'void' to declaration, to shut up ARI.
(fetch_core_registers): Make static. Rewrite using supply_register.
(arm_netbsd_core_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): New function.
cgf [Thu, 21 Feb 2002 06:44:04 +0000 (06:44 +0000)]
* win32-nat.c (register_loaded_dll): Correctly check for invalid handle value.
cgf [Thu, 21 Feb 2002 04:59:35 +0000 (04:59 +0000)]
* win32-nat.c (register_loaded_dll): Handle case where FindFirstFile fails.
trix [Thu, 21 Feb 2002 03:57:30 +0000 (03:57 +0000)]
XCOFF booke tests. Fix tlbre, tlbwe ppc WS field.
drow [Thu, 21 Feb 2002 02:54:44 +0000 (02:54 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* jv-exp.y (parse_number): Change type of implicit longs
to builtin_type_uint64.
rth [Thu, 21 Feb 2002 02:34:55 +0000 (02:34 +0000)]
* lib/target.exp (prune_warnings): Revert early "In function" strip,
as this breaks g++.dg tests. Match dangerous regexp without the
"In function" header.
cagney [Thu, 21 Feb 2002 01:55:04 +0000 (01:55 +0000)]
* gdb.base/sizeof.c (main): Call fill_structs. Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.
* gdb.base/sizeof.exp: Check for signed and unsigned char. Check
for correctly sized writes. Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.
gdbadmin [Thu, 21 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
chastain [Wed, 20 Feb 2002 23:54:01 +0000 (23:54 +0000)]
2002-02-20 Michael Chastain <mec@shout.net>
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
to setup_xfail. Document some of the remaining calls.
chastain [Wed, 20 Feb 2002 23:52:22 +0000 (23:52 +0000)]
2002-02-20 Michael Chastain <mec@shout.net>
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
to setup_xfail. Document some of the remaining calls.
amodra [Wed, 20 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update
drow [Wed, 20 Feb 2002 22:58:56 +0000 (22:58 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (mywait): Change argument to waitpid
to be an integer instead of a `union wait'.
drow [Wed, 20 Feb 2002 22:51:40 +0000 (22:51 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* mips-linux-nat.c: Call the operating system GNU/Linux.
* mips-linux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
drow [Wed, 20 Feb 2002 22:41:52 +0000 (22:41 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/265.
* jv-exp.y (parse_number): Handle 64-bit integers.