OSDN Git Service
Daniel Jacobowitz [Thu, 28 Feb 2002 16:58:58 +0000 (16:58 +0000)]
Oops, fix date in changelog
Daniel Jacobowitz [Thu, 28 Feb 2002 16:58:15 +0000 (16:58 +0000)]
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-s390-low.c: New file.
* regformats/reg-s390.dat: New file.
* regformats/reg-s390x.dat: New file.
* gdbserver/configure.srv: Add S/390.
* gdbserver/Makefile.in: Add S/390.
* configure.tgt: Enable gdbserver for S/390.
Eli Zaretskii [Thu, 28 Feb 2002 16:49:10 +0000 (16:49 +0000)]
* go32-nat.c (_initialize_go32_nat): Don't use periods in the
first line of the doc string for "info dos", except at the end of
the sentence, since the short help stops at the first period.
Jason Merrill [Thu, 28 Feb 2002 11:21:16 +0000 (11:21 +0000)]
* dwarf2read.c (dwarf_cfi_name): Add new codes.
Chris Demetriou [Thu, 28 Feb 2002 07:07:56 +0000 (07:07 +0000)]
2002-02-27 Chris Demetriou <cgd@broadcom.com>
* mips.igen (PREFX): This is a 64-bit instruction, use '64'
as the filter flag.
Chris Demetriou [Thu, 28 Feb 2002 07:01:14 +0000 (07:01 +0000)]
2002-02-27 Chris Demetriou <cgd@broadcom.com>
* mips.igen (PREFX): Tweak instruction opcode fields (i.e.,
add a comma) so that it more closely match the MIPS ISA
documentation opcode partitioning.
(PREF): Put useful names on opcode fields, and include
instruction-printing string.
Andrew Cagney [Thu, 28 Feb 2002 03:34:36 +0000 (03:34 +0000)]
* fdl.texi: New file.
Chris Demetriou [Thu, 28 Feb 2002 02:57:34 +0000 (02:57 +0000)]
2002-02-27 Chris Demetriou <cgd@broadcom.com>
* mips.igen (check_u64): New function which in the future will
check whether 64-bit instructions are usable and signal an
exception if not. Currently a no-op.
(DADD, DADDI, DADDIU, DADDU, DDIV, DDIVU, DMULT, DMULTU, DSLL,
DSLL32, DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB,
DSUBU, LD, LDL, LDR, LLD, LWU, SCD, SD, SDL, SDR, DMxC1, LDXC1,
LWXC1, SDXC1, SWXC1, DMFC0, DMTC0): Use check_u64.
* mips.igen (check_fpu): New function which in the future will
check whether FPU instructions are usable and signal an exception
if not. Currently a no-op.
(ABS.fmt, ADD.fmt, BC1a, BC1b, C.cond.fmta, C.cond.fmtb,
CEIL.L.fmt, CEIL.W, CxC1, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt,
CVT.W.fmt, DIV.fmt, DMxC1, DMxC1, FLOOR.L.fmt, FLOOR.W.fmt, LDC1,
LDXC1, LWC1, LWXC1, MADD.D, MADD.S, MxC1, MOV.fmt, MOVtf,
MOVtf.fmt, MOVN.fmt, MOVZ.fmt, MSUB.D, MSUB.S, MUL.fmt, NEG.fmt,
NMADD.D, NMADD.S, NMSUB.D, NMSUB.S, RECIP.fmt, ROUND.L.fmt,
ROUND.W.fmt, RSQRT.fmt, SDC1, SDXC1, SQRT.fmt, SUB.fmt, SWC1,
SWXC1, TRUNC.L.fmt, TRUNC.W): Use check_fpu.
gdbadmin [Thu, 28 Feb 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 27 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Chris Demetriou [Wed, 27 Feb 2002 22:46:35 +0000 (22:46 +0000)]
2002-02-27 Chris Demetriou <cgd@broadcom.com>
* mips.igen (do_load_left, do_load_right): Move to be immediately
following do_load.
(do_store_left, do_store_right): Move to be immediately following
do_store.
Chris Demetriou [Wed, 27 Feb 2002 21:52:52 +0000 (21:52 +0000)]
2002-02-27 Chris Demetriou <cgd@broadcom.com>
* mips.igen (mipsV): New model name. Also, add it to
all instructions and functions where it is appropriate.
Fred Fish [Wed, 27 Feb 2002 20:04:29 +0000 (20:04 +0000)]
2002-02-27 Fred Fish <fnf@redhat.com>
* blockframe.c (generic_fix_call_dummy): Fix obvious typo in
comment (dumy -> dummy).
Peter Schauer [Wed, 27 Feb 2002 18:22:24 +0000 (18:22 +0000)]
* symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
Nick Clifton [Wed, 27 Feb 2002 16:37:48 +0000 (16:37 +0000)]
Update translation files.
Rodney Brown [Wed, 27 Feb 2002 12:29:43 +0000 (12:29 +0000)]
2002-02-27 Rodney Brown <rbrown64@csc.com.au>
* utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
Daniel Jacobowitz [Wed, 27 Feb 2002 07:07:49 +0000 (07:07 +0000)]
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/acconfig.h: New file.
* gdbserver/i387-fp.c: New file.
* gdbserver/i387-fp.h: New file.
* gdbserver/linux-x86-64.c: New file.
* regformats/reg-x86-64.dat: New file.
* configure.tgt: Add x86_64-*-linux* gdbserver support.
& gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
* gdbserver/configure.in: Add support for regsets.
* gdbserver/config.in: Regenerate.
* gdbserver/configure: Regenerate.
* gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
* gdbserver/linux-low.h: New file.
* gdbserver/linux-low.c: Include "linux-low.h". Add support
for regsets.
* gdbserver/linux-arm-low.c: Include "linux-low.h".
* gdbserver/linux-ia64-low.c: Include "linux-low.h".
* gdbserver/linux-m68k-low.c: Include "linux-low.h".
* gdbserver/linux-mips-low.c: Include "linux-low.h".
* gdbserver/linux-ppc-low.c: Include "linux-low.h".
* gdbserver/linux-sh-low.c: Include "linux-low.h".
* gdbserver/linux-i386-low.c: Include "linux-low.h". Include
"i387-fp.h". Add PTRACE_GETREGS and friends.
* gdbserver/regcache.c (supply_register): New function.
(supply_register_by_name): New function.
(collect_register): New function.
(collect_register_by_name): New function.
Daniel Jacobowitz [Wed, 27 Feb 2002 06:22:10 +0000 (06:22 +0000)]
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
(config.status): Add configure.srv dependency.
(server_h): Add config.h dependency.
Daniel Jacobowitz [Wed, 27 Feb 2002 06:18:09 +0000 (06:18 +0000)]
2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* regformats/reg-i386-linux.dat: New file, with $orig_eax.
* gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
* gdbserver/configure.srv: Change i386-*-linux* to use
reg-i386-linux.o.
Andrew Cagney [Wed, 27 Feb 2002 02:55:13 +0000 (02:55 +0000)]
Update copyright. re-indent.
Andrew Cagney [Wed, 27 Feb 2002 02:47:21 +0000 (02:47 +0000)]
* x86-64-tdep.c (value.h): Delete.
(gdb_assert.h): Include.
(x86_64_register_convert_to_virtual,
x86_64_register_convert_to_raw ): Add check which lets only
floating-point values to be converted.
(value_push): Delete.
(x86_64_push_arguments): Order of arguments pushed on stack fixed.
(i386_gdbarch_init): Number of register_bytes fixed.
Andrew Cagney [Wed, 27 Feb 2002 02:45:12 +0000 (02:45 +0000)]
* MAINTAINERS: Add x86-64 target.
Andrew Cagney [Wed, 27 Feb 2002 02:13:36 +0000 (02:13 +0000)]
* standards.texi: Import February 14, 2002 version.
* make-stds.texi: Import 2001 version.
* Makefile.in (install): Depend on install-info.
Andrew Cagney [Wed, 27 Feb 2002 01:40:36 +0000 (01:40 +0000)]
* memattr.c (mem_command): Eliminate ``true'' and ``false''.
* osfsolib.c (solib_map_sections): Ditto.
* irix5-nat.c (solib_map_sections): Ditto.
* corelow.c (gdb_check_format): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* solib.c (solib_map_sections): Ditto.
Partially fix PR gdb/354.
Andrew Cagney [Wed, 27 Feb 2002 01:18:39 +0000 (01:18 +0000)]
* remote.c (_initialize_remote): By default, disable ``e'' and
``E'' step out-of-range packets.
gdbadmin [Wed, 27 Feb 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 26 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Tue, 26 Feb 2002 22:12:49 +0000 (22:12 +0000)]
* config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
m68k_linux_frame_saved_pc.
(IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
in_sigtramp.
(SIGCONTEXT_PC_OFFSET): Remove.
* m68klinux-nat.c (m68k_linux_frame_saved_pc,
m68k_linux_sigtramp_saved_pc): New functions.
(IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
(SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
(UCONTEXT_PC_OFFSET): Define.
(m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
non-RT and RT signal trampolines.
Nick Clifton [Tue, 26 Feb 2002 22:09:26 +0000 (22:09 +0000)]
Export dis-asm.h as part of an install
Richard Earnshaw [Tue, 26 Feb 2002 14:23:12 +0000 (14:23 +0000)]
* config/arm/tm-embed.h (TARGET_UPAGES): Delete.
(TARGET_NBPG, STACK_END_ADDR): Delete
(VARIABLES_INSIDE_BLOCK): Delete.
Nick Clifton [Tue, 26 Feb 2002 10:28:13 +0000 (10:28 +0000)]
Import new Spanish and German translations
Andrew Cagney [Tue, 26 Feb 2002 03:29:55 +0000 (03:29 +0000)]
* utils.c (perror_with_name): Make string parameter constant.
(print_sys_errmsg): Ditto.
(query): Ditto.
* defs.h (perror_with_name): Update.
(print_sys_errmsg): Update.
(query): Update.
Daniel Jacobowitz [Tue, 26 Feb 2002 01:40:06 +0000 (01:40 +0000)]
2002-02-25 Daniel Jacobowitz <drow@mvista.com>
From Eliot Dresselhaus <eliot@ayrnetworks.com>:
* gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
Ian Roxborough [Tue, 26 Feb 2002 00:29:06 +0000 (00:29 +0000)]
* library/srcbar.itcl (SrcBar::create_buttons): Added
"Search in source file" entry box and label to the top
row toolbar.
* library/srcwin.itb (SrcWin::_build_win): Removed
"Search in source file" entry box.
(SrcWin::_search): Renamed to "search", add string
parameter and cleaned up.
* library/srcwin.ith (SrcWin): Removed private
method "_search" and added public method "search".
gdbadmin [Tue, 26 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 25 Feb 2002 23:31:22 +0000 (23:31 +0000)]
* elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local
dynsyms.
Alan Modra [Mon, 25 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Peter Schauer [Mon, 25 Feb 2002 18:15:52 +0000 (18:15 +0000)]
* rs6000-nat.c (set_host_arch): Do not switch to a new architecture
if it already matches the current architecture from the exec file.
Include arch-utils.h for gdbarch_info_init prototype.
* Makefile.in (rs6000-nat.o): Update dependencies.
Eli Zaretskii [Mon, 25 Feb 2002 16:14:09 +0000 (16:14 +0000)]
Update for the next release.
Eli Zaretskii [Mon, 25 Feb 2002 16:09:46 +0000 (16:09 +0000)]
Add NM and CFLAGS to the exports.
Alan Modra [Mon, 25 Feb 2002 05:09:11 +0000 (05:09 +0000)]
* elf64-hppa.h: Update copyright date.
Andrew 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.
Alan Modra [Mon, 25 Feb 2002 04:13:42 +0000 (04:13 +0000)]
missdit
Alan Modra [Mon, 25 Feb 2002 03:44:16 +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.
Alan Modra [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.
Alan Modra [Mon, 25 Feb 2002 03:42:59 +0000 (03:42 +0000)]
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Daniel Jacobowitz [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.
Andrew Cagney [Mon, 25 Feb 2002 02:13:10 +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 ***
Alan Modra [Sun, 24 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 24 Feb 2002 22:56:08 +0000 (22:56 +0000)]
s/Linux/.../
Fix PR gdb/378.
Andrew Cagney [Sun, 24 Feb 2002 22:31:19 +0000 (22:31 +0000)]
s/Linux/.../
Fix PR gdb/378.
Andrew Cagney [Sun, 24 Feb 2002 22:14:32 +0000 (22:14 +0000)]
s/Linux/.../
Fix PR gdb/378.
Andrew Cagney [Sun, 24 Feb 2002 21:53:02 +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.
Elena Zannoni [Sun, 24 Feb 2002 20:52:49 +0000 (20:52 +0000)]
Rename local ChangeLog and ChangeLog.Cygnus files to ChangeLog.gdb.
Michael 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.
Andrew 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.
Daniel Jacobowitz [Sun, 24 Feb 2002 05:19:07 +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.
Andrew Cagney [Sun, 24 Feb 2002 04:31:13 +0000 (04:31 +0000)]
Zap lin-thread.c
Andrew 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.
Andrew Cagney [Sun, 24 Feb 2002 03:35:39 +0000 (03:35 +0000)]
* Makefile.in (linux-thread.o): Delete target.
* linux-thread.c: Delete file.
Andrew Cagney [Sun, 24 Feb 2002 01:58:23 +0000 (01:58 +0000)]
* config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
renamed SH files to be consistent.
Andrew Cagney [Sun, 24 Feb 2002 01:44:00 +0000 (01:44 +0000)]
s/free/xfree/
Michael 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.
Daniel Jacobowitz [Sun, 24 Feb 2002 00:04:00 +0000 (00:04 +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 ***
Alan Modra [Sat, 23 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Earnshaw [Sat, 23 Feb 2002 22:17:12 +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.
Andrew 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.
Michael Chastain [Sat, 23 Feb 2002 21:44:56 +0000 (21:44 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.
Jim Blandy [Sat, 23 Feb 2002 21:30:23 +0000 (21:30 +0000)]
Doc fix.
Andrew Cagney [Sat, 23 Feb 2002 20:59:55 +0000 (20:59 +0000)]
s/cygnus.com/.../
Michael 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.
Andrew Cagney [Sat, 23 Feb 2002 20:36:49 +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".
Andrew Cagney [Sat, 23 Feb 2002 20:12:13 +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.
Andrew Cagney [Sat, 23 Feb 2002 20:00:17 +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.
Richard Earnshaw [Sat, 23 Feb 2002 17:07:57 +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.
Peter 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.
Richard Earnshaw [Sat, 23 Feb 2002 12:36:50 +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.
Alexandre Oliva [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.
Jim Blandy [Sat, 23 Feb 2002 03:57:26 +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 ***
Alan Modra [Fri, 22 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
David O'Brien [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
Pierre Muller [Fri, 22 Feb 2002 17:04:25 +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.
Jakub Jelinek [Fri, 22 Feb 2002 10:03:03 +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.
Christopher Faylor [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.
Fred Fish [Fri, 22 Feb 2002 00:17:13 +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 ***
Alan Modra [Thu, 21 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Jim Blandy [Thu, 21 Feb 2002 22:19:14 +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.
Elena Zannoni [Thu, 21 Feb 2002 22:04:46 +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.
Jim Blandy [Thu, 21 Feb 2002 20:58:25 +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.
Jim Blandy [Thu, 21 Feb 2002 20:34:16 +0000 (20:34 +0000)]
* gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
types of pointers to prototyped functions.
Keith Seitz [Thu, 21 Feb 2002 20:22:49 +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.
Andreas Jaeger [Thu, 21 Feb 2002 15:31:53 +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.
Andreas Jaeger [Thu, 21 Feb 2002 12:48:36 +0000 (12:48 +0000)]
* config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
Richard Earnshaw [Thu, 21 Feb 2002 12:19:55 +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.
Richard Earnshaw [Thu, 21 Feb 2002 11:15:41 +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.
Christopher Faylor [Thu, 21 Feb 2002 06:44:05 +0000 (06:44 +0000)]
* win32-nat.c (register_loaded_dll): Correctly check for invalid handle value.