OSDN Git Service

pf3gnuchains/sourceware.git
22 years agoFix tic54x testsuite failures and Lmem disassembly bugs.
twall [Tue, 13 Nov 2001 14:22:38 +0000 (14:22 +0000)]
Fix tic54x testsuite failures and Lmem disassembly bugs.

22 years agomerge from gcc
dj [Tue, 13 Nov 2001 03:54:14 +0000 (03:54 +0000)]
merge from gcc

22 years ago * section.c (bfd_make_section_anyway): Don't increment section_id
amodra [Tue, 13 Nov 2001 03:52:25 +0000 (03:52 +0000)]
* section.c (bfd_make_section_anyway): Don't increment section_id
and the BFD's section_count if adding the section failed.
* vms.c (vms_new_section_hook): Adjust for bfd_make_section_anyway
change.

22 years agoAdd __stack_base__
green [Tue, 13 Nov 2001 03:31:14 +0000 (03:31 +0000)]
Add __stack_base__

22 years ago * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is
amodra [Tue, 13 Nov 2001 03:24:24 +0000 (03:24 +0000)]
* config/obj-elf.c (obj_elf_version): Ensure terminating NUL is
put in note section.  Use sizeof instead of hard-coded constants.

22 years agoEliminate REGISTER_CONVERTIBLE().
cagney [Tue, 13 Nov 2001 03:10:33 +0000 (03:10 +0000)]
Eliminate REGISTER_CONVERTIBLE().

22 years ago * libc/sys/mmixware/*: Correct spacing in all source files.
hp [Tue, 13 Nov 2001 02:49:11 +0000 (02:49 +0000)]
* libc/sys/mmixware/*: Correct spacing in all source files.
* libc/sys/mmixware/syscall.h: Move misplaced file...
* libc/sys/mmixware/sys/syscall.h: ...here.

22 years agoZap REGISTER_CONVERTIBLE from m88k.
cagney [Tue, 13 Nov 2001 02:39:29 +0000 (02:39 +0000)]
Zap REGISTER_CONVERTIBLE from m88k.

22 years ago * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
amodra [Tue, 13 Nov 2001 01:03:54 +0000 (01:03 +0000)]
* i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
accept WordReg.
* i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
category instead of Ew.

22 years ago*** empty log message ***
gdbadmin [Tue, 13 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
hp [Mon, 12 Nov 2001 23:47:02 +0000 (23:47 +0000)]
* elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
core dump format.

22 years agodaily update
amodra [Mon, 12 Nov 2001 23:01:05 +0000 (23:01 +0000)]
daily update

22 years ago* i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
kettenis [Mon, 12 Nov 2001 22:27:35 +0000 (22:27 +0000)]
* i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
* i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h".
* config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed.
(SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.

22 years ago * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.
ths [Mon, 12 Nov 2001 22:22:19 +0000 (22:22 +0000)]
* config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.
(md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow
OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation.
Sort options a bit more logical.
(md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64,
OPTION_MABI only for elf targets.
* gas/mips/mips.exp: Change naming of some conditionals to reflect
the object format they actually mean. Don't try mips-abi32 and
mips-abi32-pic tests for ecoff.

22 years ago * config/tc-mips.c (set_at): Add cast needed for varargs.
ths [Mon, 12 Nov 2001 22:20:43 +0000 (22:20 +0000)]
* config/tc-mips.c (set_at): Add cast needed for varargs.
(load_register): Likewise.
(macro): Likewise. Some code reformatting.
(macro2): Add cast needed for varargs.
(mips16_macro): Likewise.

22 years ago * config/tc-mips.c (md_assemble): Remove superflous casts.
ths [Mon, 12 Nov 2001 22:19:30 +0000 (22:19 +0000)]
* config/tc-mips.c (md_assemble): Remove superflous casts.
(append_insn): Likewise.
(mips16_macro_build): Likewise.
(macro): Likewise.
(mips16_ip): Likewise.
(s_cpload): Likewise.
(mips_relax_frag): Likewise.

22 years ago Fix ChangeLog entry.
corinna [Mon, 12 Nov 2001 21:56:31 +0000 (21:56 +0000)]
Fix ChangeLog entry.

22 years ago * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
corinna [Mon, 12 Nov 2001 21:55:39 +0000 (21:55 +0000)]
    * cygcheck.cc (dump_sysinfo): Redefine output format slightly.

22 years ago* cygcheck.cc (main): Slight formatting tweak.
cgf [Mon, 12 Nov 2001 21:28:32 +0000 (21:28 +0000)]
* cygcheck.cc (main): Slight formatting tweak.

22 years agoPatch from Andreas Schwab <schwab@suse.de>:
jimb [Mon, 12 Nov 2001 21:20:17 +0000 (21:20 +0000)]
Patch from Andreas Schwab <schwab@suse.de>:
* eval.c (evaluate_subexp_standard): Fix memory leak: use alloca
instead of xmalloc.

22 years ago* corefile.c (write_memory_unsigned_integer,
jimb [Mon, 12 Nov 2001 21:08:03 +0000 (21:08 +0000)]
* corefile.c (write_memory_unsigned_integer,
write_memory_signed_integer): New functions.
(write_memory): Move to be with other write_memory_* functions.
* gdbcore.h (write_memory_unsigned_integer,
write_memory_signed_integer): New declarations.

22 years ago2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
jjohnstn [Mon, 12 Nov 2001 21:07:42 +0000 (21:07 +0000)]
2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>

        * COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work.

22 years ago2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
jjohnstn [Mon, 12 Nov 2001 21:04:36 +0000 (21:04 +0000)]
2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>

        * libc/include/machine/ieeefp.h: Add support for mmix target.
        * libc/include/machine/setjmp.h: Ditto.
        * configure.host: Ditto.
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
        libc/sys/mmixware/aclocal.m4: Generate.

22 years ago * dwarf2read.c (dwarf_decode_lines): Properly deal with
geoffk [Mon, 12 Nov 2001 20:36:54 +0000 (20:36 +0000)]
* dwarf2read.c (dwarf_decode_lines): Properly deal with
unknown standard opcodes.

22 years ago * cygcheck.cc (dump_sysinfo): Add some more details.
corinna [Mon, 12 Nov 2001 20:21:43 +0000 (20:21 +0000)]
    * cygcheck.cc (dump_sysinfo): Add some more details.

22 years ago * lib/mi-support.exp (mi_run_to_helper): Move comments
drow [Mon, 12 Nov 2001 19:44:26 +0000 (19:44 +0000)]
    * lib/mi-support.exp (mi_run_to_helper): Move comments
        outside of gdb_expect.

22 years agoAdd missing ChangeLog entry.
cgf [Mon, 12 Nov 2001 18:22:41 +0000 (18:22 +0000)]
Add missing ChangeLog entry.

22 years ago * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
corinna [Mon, 12 Nov 2001 17:55:52 +0000 (17:55 +0000)]
* cygcheck.cc (dump_sysinfo): Print more detailed OS information string
using OSVERSIONINFOEX information.

22 years ago * include/winbase.h (OSVERSIONINFOEX): Add definition.
corinna [Mon, 12 Nov 2001 17:53:45 +0000 (17:53 +0000)]
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.

22 years ago* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to
cgf [Mon, 12 Nov 2001 17:06:49 +0000 (17:06 +0000)]
* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to
only honor keydown events.

22 years ago * config/tc-mips.c (mips_abi_level): Move in front of
ths [Mon, 12 Nov 2001 16:54:51 +0000 (16:54 +0000)]
* config/tc-mips.c (mips_abi_level): Move in front of
mips_set_options.
(mips_set_options): Add members gp32, fp32, abi.
(file_mips_gp32): New flag.
(file_mips_fp32): New flag.
(mips_opts): Initialize the new members.
(mips_gp32): Remove.
(mips_fp32): Remove.
(HAVE_32BIT_GPRS): Use the new values from mips_opts.
(HAVE_32BIT_FPRS): Likewise.
(HAVE_NEWABI): Likewise.
(HAVE_64BIT_OBJECTS): Likewise.
(md_begin): Likewise. Save default (file) values.
(md_parse_option): Use the new values from mips_opts.
(s_mipsset): Likewise. Fix logic to keep the ABI selection if
possible. Let .set mipsN work together with .set push/pop.
Enhance error messages.
(mips_elf_final_processing): Use file_mips_* for header processing.

22 years agoFix definitions of wddata[bwl].
nickc [Mon, 12 Nov 2001 16:36:06 +0000 (16:36 +0000)]
Fix definitions of wddata[bwl].

22 years agoOnly compare the tail end of the two binary files produced in order to avoid
nickc [Mon, 12 Nov 2001 16:26:15 +0000 (16:26 +0000)]
Only compare the tail end of the two binary files produced in order to avoid
date stamp present in PE binaries.

22 years agoUse mkstemp in place of mktemp.
nickc [Mon, 12 Nov 2001 16:17:38 +0000 (16:17 +0000)]
Use mkstemp in place of mktemp.

22 years agoNew symbol: DATA_START_SYMBOLS
nickc [Mon, 12 Nov 2001 14:39:09 +0000 (14:39 +0000)]
New symbol: DATA_START_SYMBOLS

22 years ago* include/cygwin/version.h: Bump version to 1.3.6.
cgf [Mon, 12 Nov 2001 00:40:28 +0000 (00:40 +0000)]
* include/cygwin/version.h: Bump version to 1.3.6.

22 years ago * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
amodra [Mon, 12 Nov 2001 00:20:15 +0000 (00:20 +0000)]
* Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
* Makefile.in: Regenerate.

22 years ago* path.h: New file.
cgf [Mon, 12 Nov 2001 00:19:17 +0000 (00:19 +0000)]
* path.h: New file.

22 years ago* cygcheck.cc (scan_registry): Open registry with read-only access.
cgf [Mon, 12 Nov 2001 00:14:27 +0000 (00:14 +0000)]
* cygcheck.cc (scan_registry): Open registry with read-only access.
(main): Reflect argument change for dump_setup.
* dump_setup.cc (dump_setup): Add preliminary extra argument for future use.
* path.cc (read_mounts): Open registry with read-only access.

22 years ago* cygcheck.cc (scan_registry): Open registry with read-only access.
cgf [Mon, 12 Nov 2001 00:10:11 +0000 (00:10 +0000)]
* cygcheck.cc (scan_registry): Open registry with read-only access.
(main): Reflect argument change for dump_setup.
* dump_setup.cc (dump_setup): Add preliminary extra argument for future use.
* path.cc (read_mounts): Open registry with read-only access.

22 years ago*** empty log message ***
gdbadmin [Mon, 12 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-11-11 H.J. Lu <hjl@gnu.org>
hjl [Sun, 11 Nov 2001 23:51:34 +0000 (23:51 +0000)]
2001-11-11  H.J. Lu <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Call
_bfd_elf_strtab_size instead of _bfd_stringtab_size.

* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Change
dynstr type to `struct elf_strtab_hash *'.

22 years agodaily update
amodra [Sun, 11 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i
hp [Sun, 11 Nov 2001 22:18:00 +0000 (22:18 +0000)]
* elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i
size_t.  Rename second i to j.

22 years ago * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
drow [Sun, 11 Nov 2001 20:11:03 +0000 (20:11 +0000)]
    * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
        mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
        mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
        mi0_run_to): New functions.
        * gdb.mi/mi-simplerun.exp: Use them.
        * gdb.mi/mi0-simplerun.exp: Likewise.
        * gdb.mi/mi-var-cmd.exp: Likewise.
        * gdb.mi/mi0-var-cmd.exp: Likewise.

22 years ago Change target name from stormy16 to xstormy16.
corinna [Sun, 11 Nov 2001 19:58:19 +0000 (19:58 +0000)]
Change target name from stormy16 to xstormy16.

22 years ago* README (alpha-dec-osf5.1): Mention -DUSE_LDR_ROUTINES.
cagney [Sun, 11 Nov 2001 18:34:46 +0000 (18:34 +0000)]
* README (alpha-dec-osf5.1): Mention -DUSE_LDR_ROUTINES.
(sparcv9-sun-solars2.8): Mention problem with 64 bit GCC 3.0.x.
(i586-sco-sysv5uw7.1.1): Mention problem with threads.

22 years agoFrom Mark Kettenis <kettenis@gnu.org>:
cagney [Sun, 11 Nov 2001 16:39:58 +0000 (16:39 +0000)]
From Mark Kettenis  <kettenis@gnu.org>:
* breakpoint.c (breakpoint_re_set_one): Don't discard SHLIB
breakpoints when they fail.

22 years agoClarify length reference in comment
twall [Sun, 11 Nov 2001 15:45:34 +0000 (15:45 +0000)]
Clarify length reference in comment

22 years ago * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.
hp [Sun, 11 Nov 2001 11:47:34 +0000 (11:47 +0000)]
* ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.

22 years ago * gas/mmix/bspec-2.d, gas/mmix/bspec-1.d, gas/mmix/comment-1.d:
hp [Sun, 11 Nov 2001 11:29:21 +0000 (11:29 +0000)]
* gas/mmix/bspec-2.d, gas/mmix/bspec-1.d, gas/mmix/comment-1.d:
Prune and generalize, adjusting to generic ELF file layout changes.

22 years agofix typo.
cgf [Sun, 11 Nov 2001 06:55:35 +0000 (06:55 +0000)]
fix typo.

22 years ago* cygcheck.cc (main): Display package info when '-s' is specified.
cgf [Sun, 11 Nov 2001 06:16:18 +0000 (06:16 +0000)]
* cygcheck.cc (main): Display package info when '-s' is specified.
* dump_setup.cc (dump_setup): Change header.  Remove typo.  Always sort
packages output.

22 years ago* dump_setup.cc: New file.
cgf [Sun, 11 Nov 2001 06:07:36 +0000 (06:07 +0000)]
* dump_setup.cc: New file.
* Makefile.in: Add info for dump_setup.o.
* cygcheck.cc (main): Recognize '-c' option for checking setup installed base.
* path.cc (cygpath): Read mount table if not loaded.

22 years ago* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
cgf [Sun, 11 Nov 2001 03:06:59 +0000 (03:06 +0000)]
* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
* path.cc: New file.
* cygcheck.cc (init_paths): Use MS-DOS path syntax.
(cygwin_info): Properly display cygwin version numbers.  Prettify some output.
(dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier
output.

22 years ago*** empty log message ***
gdbadmin [Sun, 11 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 10 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agos/value_ptr/struct value */
cagney [Sat, 10 Nov 2001 21:34:55 +0000 (21:34 +0000)]
s/value_ptr/struct value */

22 years agos/value_ptr/struct value */
cagney [Sat, 10 Nov 2001 20:44:37 +0000 (20:44 +0000)]
s/value_ptr/struct value */

22 years agos/value_ptr/struct value */
cagney [Sat, 10 Nov 2001 20:15:12 +0000 (20:15 +0000)]
s/value_ptr/struct value */

22 years ago* dtable.cc (dtable::build_fhandler): Don't increment console fd count if new
cgf [Sat, 10 Nov 2001 19:46:15 +0000 (19:46 +0000)]
* dtable.cc (dtable::build_fhandler): Don't increment console fd count if new
operation fails.  Increment fork_fixup field here.
(dtable::dup2): Don't increment fork_fixup field here.
(fdsock): Ditto.

22 years ago* gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
cagney [Sat, 10 Nov 2001 17:55:48 +0000 (17:55 +0000)]
* gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
* gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.

22 years ago * binary.c: Include safe-ctype.h after bfd.h and sysdep.h.
law [Sat, 10 Nov 2001 15:53:31 +0000 (15:53 +0000)]
    * binary.c: Include safe-ctype.h after bfd.h and sysdep.h.

22 years ago * avr.h: Update for new devices.
denisc [Sat, 10 Nov 2001 09:40:53 +0000 (09:40 +0000)]
* avr.h: Update for new devices.

22 years ago * config/tc-avr.c (mcu_types): Update for new devices.
denisc [Sat, 10 Nov 2001 09:35:53 +0000 (09:35 +0000)]
* config/tc-avr.c (mcu_types): Update for new devices.

22 years ago * config/tc-avr.c (mcu_types): Update for new devices.
denisc [Sat, 10 Nov 2001 09:34:32 +0000 (09:34 +0000)]
* config/tc-avr.c (mcu_types): Update for new devices.

22 years ago* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
cagney [Sat, 10 Nov 2001 02:28:36 +0000 (02:28 +0000)]
* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
implemented.

22 years ago* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
cagney [Sat, 10 Nov 2001 01:44:43 +0000 (01:44 +0000)]
* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
implemented.

22 years ago2001-11-09 H.J. Lu <hjl@gnu.org>
hjl [Sat, 10 Nov 2001 01:17:57 +0000 (01:17 +0000)]
2001-11-09  H.J. Lu <hjl@gnu.org>

* ld-discard/discard.exp: New. Test ld discard.
* ld-discard/discard.ld: Likewise.
* ld-discard/exit.s: Likewise.
* ld-discard/extern.d: Likewise.
* ld-discard/extern.s: Likewise.
* ld-discard/start.d: Likewise.
* ld-discard/start.s: Likewise.
* ld-discard/static.d: Likewise.
* ld-discard/static.s: Likewise.

22 years ago * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
law [Sat, 10 Nov 2001 01:04:39 +0000 (01:04 +0000)]
    * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
        (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
        (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
        (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
        (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
        (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
        (unw_decode_b2, unw_decode_b3_b4): Likewise.

22 years ago * readelf.c (get_elf_class): Fix ISO portability glitch.
law [Sat, 10 Nov 2001 00:55:48 +0000 (00:55 +0000)]
    * readelf.c (get_elf_class): Fix ISO portability glitch.
        (get_data_encoding, get_osabi_name, request_dump): Likewise.

22 years ago * elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
amodra [Sat, 10 Nov 2001 00:23:34 +0000 (00:23 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
relocs into shared libs.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf.c (bfd_section_from_r_symndx): New function.
* elf-bfd.h (LOCAL_SYM_CACHE_SIZE): Define.
(struct sym_sec_cache): New.
(bfd_section_from_r_symndx): Declare.
(struct bfd_elf_section_data): Change local_dynrel type to PTR.
* elflink.h (elf_link_input_bfd): Don't test for removed linkonce
relocs when relocatable.  Don't zero entire reloc, just zero the
addend and sym.
* elf32-i386.c (struct elf_i386_link_hash_table): Add sym_sec.
(elf_i386_link_hash_table_create): Init it.
(elf_i386_check_relocs): Track dynamic relocs needed for local
syms on a per-section basis as we do for globals.
(elf_i386_gc_sweep_hook): Update for local_dynrel change.
Remove dead code.
(allocate_dynrelocs): Warning fix.
(elf_i386_size_dynamic_sections): Don't allocate relocs when
section has been discarded.
(elf_i386_relocate_section): Don't copy STN_UNDEF relocs
into shared libs.
* elf32-hppa.c: Likewise.
* elf32-s390.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.

22 years ago*** empty log message ***
gdbadmin [Sat, 10 Nov 2001 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Fri, 9 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * ld.texinfo: Use @command for commands, @option for options.
ciceron [Fri, 9 Nov 2001 20:30:39 +0000 (20:30 +0000)]
* ld.texinfo: Use @command for commands, @option for options.
* Makefile.am (POD2MAN): Use 'GNU Development Tools' for
the page man title.
* Makefile.in: Rebuild.

22 years ago * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for
ciceron [Fri, 9 Nov 2001 20:24:02 +0000 (20:24 +0000)]
* doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for
the page man title.
* doc/Makefile.in: Rebuild.
* doc/as.texinfo: Do not put man SEEALSO in document;
Use @command for commands, @option for options; Reorganize usage
to clearly identify target specific options.

22 years ago2001-11-08 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 9 Nov 2001 19:14:53 +0000 (19:14 +0000)]
2001-11-08  Michael Snyder  <msnyder@redhat.com>

* gdb.base/callfuncs.exp: Add tests for nested call dummies.
Add pass/fail message for stop at breakpoint in call dummy function.

22 years ago* s390-tdep.c: Don't use a call dummy.
jimb [Fri, 9 Nov 2001 19:13:59 +0000 (19:13 +0000)]
* s390-tdep.c: Don't use a call dummy.
(s390_fix_call_dummy, s390_pc_in_call_dummy): Delete.
(s390_push_return_address): Put the address of the inferior call
breakpoint in r14.
(s390_gdbarch_init):
- Provide trivial definition of s390_call_dummy_words; register it
  with the gdbarch appropriately.
- Delete S390x_call_dummy_words.
- Gather inferior-call-related settings into a group.
- Use generic dummy frames.
- Put the inferior call breakpoint at the entry point.
- Use generic gdbarch methods: pc_in_call_dummy_at_entry_point,
  generic_push_dummy_frame, generic_fix_call_dummy.
- There is a call dummy breakpoint offset; it's zero.

22 years agoTypo: s390-nat.c -> s390-tdep.c.
jimb [Fri, 9 Nov 2001 19:01:13 +0000 (19:01 +0000)]
Typo: s390-nat.c -> s390-tdep.c.

22 years ago* s390-nat.c: (s390_push_arguments): Write a back chain pointer
jimb [Fri, 9 Nov 2001 18:58:13 +0000 (18:58 +0000)]
* s390-nat.c: (s390_push_arguments): Write a back chain pointer
into the dummy frame, to help us get backtraces.

22 years ago * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
rsandifo [Fri, 9 Nov 2001 18:05:30 +0000 (18:05 +0000)]
* cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
fit in the buffer, try to match the empty keyword.

22 years ago * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
corinna [Fri, 9 Nov 2001 17:18:36 +0000 (17:18 +0000)]
* cygcheck.cc (dump_sysinfo): Print more detailed OS information string.

22 years ago* values.c (value_as_address): If VAL is a function or method,
jimb [Fri, 9 Nov 2001 16:41:50 +0000 (16:41 +0000)]
* values.c (value_as_address): If VAL is a function or method,
just return its address; don't let COERCE_ARRAY convert its
address to a pointer, and then have unpack_long convert it back to
an address.

22 years ago2001-11-10 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Fri, 9 Nov 2001 13:23:54 +0000 (13:23 +0000)]
2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Add Danny Smith's text comment about gcc compiler warnings
        with _AUTHORITY #defines.

22 years ago2001-11-09 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Fri, 9 Nov 2001 11:34:25 +0000 (11:34 +0000)]
2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h (GetCurrentFiber): Create a prototype before the implementation;
        (GetFiberData): Ditto.

22 years agoFix badly placed #if 0...
nickc [Fri, 9 Nov 2001 10:21:21 +0000 (10:21 +0000)]
Fix badly placed #if 0...

22 years ago2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 9 Nov 2001 09:48:09 +0000 (09:48 +0000)]
2001-11-06 Pierre Muller  <muller@ics.u-strasbg.fr>

* p-lang.c (is_pascal_string_type): New function to determine if a
type is a string type.
* p-lang.h: Add prototype for is_pascal_string_type.
* p-valprint.c (pascal_val_print) : Use is_pascal_string_type function
to display strings nicely.

22 years ago2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 9 Nov 2001 09:46:39 +0000 (09:46 +0000)]
2001-11-06 Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (yylex): Only change case of expression if symbol is found.
Also check for GPC standard name form.

22 years ago2001-11-09 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Fri, 9 Nov 2001 08:31:37 +0000 (08:31 +0000)]
2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Backout last change.

22 years agoA simple script to indent GDB source code.
cagney [Fri, 9 Nov 2001 03:59:59 +0000 (03:59 +0000)]
A simple script to indent GDB source code.

22 years ago* configure.in (--enable-languages): Be more permissive about
dj [Fri, 9 Nov 2001 02:21:21 +0000 (02:21 +0000)]
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

22 years ago*** empty log message ***
gdbadmin [Fri, 9 Nov 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
jimb [Thu, 8 Nov 2001 23:28:36 +0000 (23:28 +0000)]
* s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
got_load_len, to placate compiler.

22 years agodaily update
amodra [Thu, 8 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* call graph profiling support
fche [Thu, 8 Nov 2001 21:55:10 +0000 (21:55 +0000)]
* call graph profiling support

[sid/bsp]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in (gprof): Connect call-graph pins.

[sid/include]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* sidcpuutil.h (basic_cpu): Add cg caller/callee pins, trace_stream
fields.
(basic_cpu ctor): Initialize them.
(cg_profile): New function.

[sid/component/cgen-cpu]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* cgen-cpu.h (cgen_bi_endian_cpu): Remove trace_stream field: it's
in basic_cpu now.
* compCGEN.cxx: Corresponding change.

[sid/component/profiling]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* gprof.cxx (gprof_component): Add cg caller/callee pins, cg_count_map
field.
(accumulate_call): New function.
(reset): Clear cg map.
(store): Emit call graph info.  Emit histogram iff nonempty.
* sw-profile-gprof.xml: Document call graph functionality.
* sw-profile-gprof.txt: Regenerated.

22 years ago * checksignal.c: New testcase.
corinna [Thu, 8 Nov 2001 21:04:02 +0000 (21:04 +0000)]
    * checksignal.c: New testcase.

22 years ago* i386-tdep.c (i386_gdbarch_init): Fix typo.
kettenis [Thu, 8 Nov 2001 20:26:40 +0000 (20:26 +0000)]
* i386-tdep.c (i386_gdbarch_init): Fix typo.

22 years ago * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
ths [Thu, 8 Nov 2001 19:32:23 +0000 (19:32 +0000)]
* config/tc-mips.c (mips_force_relocation): Remove duplicate code.

22 years ago2001-11-07 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Nov 2001 19:21:53 +0000 (19:21 +0000)]
2001-11-07  Michael Snyder  <msnyder@redhat.com>

        * gdb.c++/templates.exp: Replace "const &" with "const ?&",
making the whitespace optional.  Also replace "(void) with
"((void|)), making the keyword "void" optional.

22 years ago* s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
jimb [Thu, 8 Nov 2001 19:16:10 +0000 (19:16 +0000)]
* s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
file_frame_chain_valid.