OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2003-04-28 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 28 Apr 2003 16:17:26 +0000 (16:17 +0000)]
2003-04-28  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
* vax-tdep.c (_initialize_vax_tdep): Update.
* v850-tdep.c (_initialize_v850_tdep): Update.
* sparc-tdep.c (_initialize_sparc_tdep): Update.
* s390-tdep.c (_initialize_s390_tdep): Update.
* ns32k-tdep.c (_initialize_ns32k_tdep): Update.
* mn10300-tdep.c (_initialize_mn10300_tdep): Update.
* mips-tdep.c (_initialize_mips_tdep): Update.
* mcore-tdep.c (_initialize_mcore_tdep): Update.
* m68k-tdep.c (_initialize_m68k_tdep): Update.
* ia64-tdep.c (_initialize_ia64_tdep): Update.
* hppa-tdep.c (_initialize_hppa_tdep): Update.
* h8300-tdep.c (_initialize_h8300_tdep): Update.
* frv-tdep.c (_initialize_frv_tdep): Update.
* cris-tdep.c (cris_delayed_get_disassembler): Update.
(_initialize_cris_tdep): Update.
* arch-utils.c (legacy_print_insn): Update.
* alpha-tdep.c (_initialize_alpha_tdep): Update.

2003-04-28  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Rename
"tm_print_insn" to "deprecated_tm_print_insn".

21 years ago* config/tc-hppa.c (hppa_symbol_chars): New.
nickc [Mon, 28 Apr 2003 08:35:06 +0000 (08:35 +0000)]
* config/tc-hppa.c (hppa_symbol_chars): New.
* config/tc-hppa.h (tc_symbol_chars): Likewise.

21 years agobfd/
hjl [Mon, 28 Apr 2003 03:31:35 +0000 (03:31 +0000)]
bfd/

2003-04-27  H.J. Lu <hjl@gnu.org>

* elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New.
(ELF_LINK_DYNAMIC_WEAK): New.

* elflink.h (elf_merge_symbol): Add one argument to indicate if
a symbol should be skipped. Ignore definitions in dynamic
objects for symbols with non-default visibility.
(elf_add_default_symbol): Adjusted.
(elf_link_add_object_symbols): Check if a symbol should be
skipped. Don't merge the visibility field with the one from
a dynamic object.
(elf_link_check_versioned_symbol): Use undef_bfd.
(elf_link_output_extsym): Warn if a forced local symbol is
referenced from dynamic objects. Make non-weak undefined symbol
with non-default visibility a fatal error.

ld/testsuite/

2003-04-27  H.J. Lu <hjl@gnu.org>

* ld-elfvsb/elfvsb.dat: Updated.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfvsb/main.c: Likewise.
* ld-elfvsb/sh1.c: Likewise.
* ld-elfvsb/sh2.c: Likewise.

21 years ago * Makefile.tpl: Clean $(BUILD_SUBDIR).
drow [Mon, 28 Apr 2003 02:24:35 +0000 (02:24 +0000)]
* Makefile.tpl: Clean $(BUILD_SUBDIR).
* Makefile.in: Regenerated.

21 years ago * gdb.base/signals.exp: Make backtrace tests more specific.
drow [Mon, 28 Apr 2003 00:50:30 +0000 (00:50 +0000)]
* gdb.base/signals.exp: Make backtrace tests more specific.

21 years agodaily update
amodra [Mon, 28 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 28 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * configure.in: Bump version on HEAD to 2.14.90.
drow [Sun, 27 Apr 2003 19:59:10 +0000 (19:59 +0000)]
* configure.in: Bump version on HEAD to 2.14.90.
* configure: Regenerated.

21 years ago* linespec.c (decode_objc): New function to decode ObjC calls
fedor [Sun, 27 Apr 2003 03:23:37 +0000 (03:23 +0000)]
* linespec.c (decode_objc): New function to decode ObjC calls
(decode_line_1): Check for ObjC calls (using decode_objc)
* Makefile (linespec.o): Update dependencies.

21 years agoreally check in correct fix.
cgf [Sun, 27 Apr 2003 03:14:02 +0000 (03:14 +0000)]
really check in correct fix.

21 years ago* errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.
cgf [Sun, 27 Apr 2003 03:09:17 +0000 (03:09 +0000)]
* errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.

21 years ago * breakpoint.h (struct breakpoint_ops): New.
drow [Sun, 27 Apr 2003 01:11:10 +0000 (01:11 +0000)]
* breakpoint.h (struct breakpoint_ops): New.
(struct breakpoint): Add ops member.

* breakpoint.c (print_bp_stop_message, print_one_breakpoint)
(mention): Use new breakpoint ops member.
(set_raw_breakpoint): Initialize ops field to NULL.
(print_exception_catchpoint, print_one_exception_catchpoint)
(print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
(gnu_v3_exception_catchpoint_ops): New.
(catch_exception_command_1): Call handle_gnu_v3_exceptions.

21 years ago*** empty log message ***
gdbadmin [Sun, 27 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* mkpasswd.c (usage) Remove extra newline from description output.
joshuadfranklin [Sat, 26 Apr 2003 22:33:00 +0000 (22:33 +0000)]
* mkpasswd.c (usage) Remove extra newline from description output.

21 years ago2003-04-26 Bang Jun-Young <junyoung@netbsd.org>
dannysmith [Sat, 26 Apr 2003 22:00:16 +0000 (22:00 +0000)]
2003-04-26  Bang Jun-Young  <junyoung@netbsd.org>

* include/winioctl.h (DEVICE_TYPE_FROM_CTL_CODE): Add macro.

21 years ago* cygcheck.cc (usage) Add description output.
joshuadfranklin [Sat, 26 Apr 2003 21:52:03 +0000 (21:52 +0000)]
* cygcheck.cc (usage) Add description output.

21 years ago * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
ths [Sat, 26 Apr 2003 20:57:13 +0000 (20:57 +0000)]
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.

21 years ago* gcc.sgml: Remove outdated "WinMainCRTStartup" references. Add a hellogui.c example
joshuadfranklin [Sat, 26 Apr 2003 14:10:59 +0000 (14:10 +0000)]
* gcc.sgml: Remove outdated "WinMainCRTStartup" references. Add a hellogui.c example

21 years ago PR savannah/3331:
ciceron [Sat, 26 Apr 2003 11:53:35 +0000 (11:53 +0000)]
PR savannah/3331:
* elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group
when we couldn't relax something.
* ld-m68hc11/bug-3331.d: New test.
* ld-m68hc11/bug-3331.s: New file.

21 years ago * include/oaidl.h (ITypeMarshal): Add interface.
dannysmith [Sat, 26 Apr 2003 08:48:03 +0000 (08:48 +0000)]
* include/oaidl.h (ITypeMarshal): Add interface.

21 years ago2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Sat, 26 Apr 2003 08:31:28 +0000 (08:31 +0000)]
2003-04-26  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.

2003-04-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.

21 years agooops - forgot to add the grep for "(DW_OP_addr: 0)"
nickc [Sat, 26 Apr 2003 07:57:26 +0000 (07:57 +0000)]
oops - forgot to add the grep for "(DW_OP_addr: 0)"

21 years agoRework readelf -wi tests to grep for expected strings.
nickc [Sat, 26 Apr 2003 07:53:20 +0000 (07:53 +0000)]
Rework readelf -wi tests to grep for expected strings.

21 years ago* Makefile.in (COMMON_OBS): Add objc-lang.o
fedor [Sat, 26 Apr 2003 01:57:27 +0000 (01:57 +0000)]
* Makefile.in (COMMON_OBS): Add objc-lang.o

21 years ago2003-04-25 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 26 Apr 2003 01:35:58 +0000 (01:35 +0000)]
2003-04-25  Chris Demetriou  <cgd@broadcom.com>

        * NEWS: Belatedly mention support for MIPS32 Release 2.

21 years ago*** empty log message ***
gdbadmin [Sat, 26 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 26 Apr 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-25 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 25 Apr 2003 22:14:05 +0000 (22:14 +0000)]
2003-04-25  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (print_insn): Delete function.
(display_trace): Use TARGET_PRINT_INSN.
(_initialize_d10v_tdep): Do not set tm_print_insn.
(d10v_gdbarch_init): Set print_insn.

21 years ago2003-04-25 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 25 Apr 2003 21:20:57 +0000 (21:20 +0000)]
2003-04-25  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
(_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
(d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
(NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
(nr_dmap_regs, a0_regnum): ... new functions.
(d10v_print_registers_info): Use a0_regnum, use register_size.
(d10v_register_byte): Delete function.
(d10v_register_raw_size): Delete function.
(d10v_register_type): Use a0_regnum.
(d10v_print_registers_info): Use a0_regnum.
(D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
(d10v_gdbarch_init): Do not set register_byte or
register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
(d10v_pointer_to_address): Use extract_unsigned_integer instead of
extract_address.
(trace_command): Use XCALLOC.
(print_insn): Delete reference to tm_print_insn.
(saved_regs_unwinder): Use store_unsigned_integer instead of
store_address.
* frame.h (FRAME_OBSTACK_CALLOC): Define

21 years ago2003-04-25 David Carlton <carlton@bactrian.org>
carlton [Fri, 25 Apr 2003 16:49:21 +0000 (16:49 +0000)]
2003-04-25  David Carlton  <carlton@bactrian.org>

* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.

21 years ago2003-04-25 Alan Modra <amodra@bigpond.net.au>
hjl [Fri, 25 Apr 2003 15:17:51 +0000 (15:17 +0000)]
2003-04-25  Alan Modra  <amodra@bigpond.net.au>

* elflink.h (elf_merge_symbol): When we find a regular definition
for an indirect symbol, flip the indirection so that the old
direct symbol now points to the new definition.

21 years ago * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
amylaar [Fri, 25 Apr 2003 14:23:31 +0000 (14:23 +0000)]
* lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.

21 years ago * include/netinet/ip.h: Include netinet/in_systm.h and netinet/in.h
corinna [Fri, 25 Apr 2003 08:32:28 +0000 (08:32 +0000)]
* include/netinet/ip.h: Include netinet/in_systm.h and netinet/in.h
to allow standalone usage (autoconf).

21 years ago2003-04-24 Eric Christopher <echristo@redhat.com>
echristo [Fri, 25 Apr 2003 04:40:09 +0000 (04:40 +0000)]
2003-04-24  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c (nopic_need_relax): Revert previous
        change.

21 years ago* objc-lang.c: Include "valprint.h"
fedor [Fri, 25 Apr 2003 03:30:16 +0000 (03:30 +0000)]
* objc-lang.c: Include "valprint.h"
* Makefile.in (objc-lang.o): Update dependencies.

21 years ago* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
fedor [Fri, 25 Apr 2003 03:18:20 +0000 (03:18 +0000)]
* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
architecture dependant compilation and mark as unimplemented
(until they get put in the gdbarch vector).

21 years ago*** empty log message ***
gdbadmin [Fri, 25 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Fri, 25 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-24 J"orn Rennecke <joern.rennecke@superh.com>
hjl [Thu, 24 Apr 2003 21:00:05 +0000 (21:00 +0000)]
2003-04-24  J"orn Rennecke <joern.rennecke@superh.com>

* ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended.

21 years ago.
roland [Thu, 24 Apr 2003 17:19:55 +0000 (17:19 +0000)]
.

21 years ago2003-04-24 Roland McGrath <roland@redhat.com>
roland [Thu, 24 Apr 2003 17:19:37 +0000 (17:19 +0000)]
2003-04-24  Roland McGrath  <roland@redhat.com>

* elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr".

21 years ago.
roland [Thu, 24 Apr 2003 17:15:38 +0000 (17:15 +0000)]
.

21 years ago2003-04-24 Roland McGrath <roland@redhat.com>
roland [Thu, 24 Apr 2003 17:15:25 +0000 (17:15 +0000)]
2003-04-24  Roland McGrath  <roland@redhat.com>

* ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
If a name string is unknown, give an error rather than crashing later.

21 years agoAdd tests of conditional branch instructions with probability postfixes
nickc [Thu, 24 Apr 2003 17:04:22 +0000 (17:04 +0000)]
Add tests of conditional branch instructions with probability postfixes

21 years agooops - omitted from previous delta
nickc [Thu, 24 Apr 2003 15:25:24 +0000 (15:25 +0000)]
oops - omitted from previous delta

21 years ago * elf32-ppc.c: Formatting and comment fixes.
amodra [Thu, 24 Apr 2003 13:44:10 +0000 (13:44 +0000)]
* elf32-ppc.c: Formatting and comment fixes.
(ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol.
(ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs.

21 years agoAdd support for dwarf2 debug information.
nickc [Thu, 24 Apr 2003 12:47:31 +0000 (12:47 +0000)]
Add support for dwarf2 debug information.

21 years agoAdd support for h8300hn and h8300sn
nickc [Thu, 24 Apr 2003 12:36:05 +0000 (12:36 +0000)]
Add support for h8300hn and h8300sn

21 years agoAdd '+' and '-' as valid symbol characters for PPC port.
nickc [Thu, 24 Apr 2003 10:22:34 +0000 (10:22 +0000)]
Add '+' and '-' as valid symbol characters for PPC port.

21 years agoAdd '+' and '-' as valid symbol characters for PPC port.
nickc [Thu, 24 Apr 2003 10:22:25 +0000 (10:22 +0000)]
Add '+' and '-' as valid symbol characters for PPC port.

21 years agoFix the documentation for the -fo option.
nickc [Thu, 24 Apr 2003 07:58:49 +0000 (07:58 +0000)]
Fix the documentation for the -fo option.

21 years ago * elf32-sh.c (tpoff): New.
kkojima [Thu, 24 Apr 2003 05:19:08 +0000 (05:19 +0000)]
* elf32-sh.c (tpoff): New.
(struct elf_sh_dyn_relocs): Remove tls_tpoff32.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
        (allocate_dynrelocs): Don't make unnecessary dynamic TLS
relocations.  Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses.
        (sh_elf_relocate_section): Likewise. Remove unnecessary tests.
(dtpoff_base): Fix wrong indentation.
(sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS
relocations.  Don't set tls_tpoff32 flag.  Don't make unnecessary
R_SH_TLS_TPOFF32 relocations.

* ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d,
ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing
unnecessary TLS relocs.

21 years ago* fork.cc: Change SLOW_PID_REUSE to NO_SLOW_PID_REUSE and invert ifdef sense
cgf [Thu, 24 Apr 2003 01:57:07 +0000 (01:57 +0000)]
* fork.cc: Change SLOW_PID_REUSE to NO_SLOW_PID_REUSE and invert ifdef sense
throughout.

21 years agoinclude/
hjl [Thu, 24 Apr 2003 01:43:32 +0000 (01:43 +0000)]
include/

* bfdlink.h (bfd_link_callbacks): Add error_handler.

ld/

* ldmain.c (link_callbacks): Initialize error_handler.

* ldmisc.c (error_handler): New function.

* ldmisc.h (error_handler): New prototype.

21 years ago*** empty log message ***
gdbadmin [Thu, 24 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Thu, 24 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-23 David Carlton <carlton@bactrian.org>
carlton [Wed, 23 Apr 2003 23:45:23 +0000 (23:45 +0000)]
2003-04-23  David Carlton  <carlton@bactrian.org>

* cp-support.c (cp_find_first_component): Accept 'operator' in
more locations.

2003-04-23  David Carlton  <carlton@bactrian.org>

* gdb.c++/maint.exp (test_first_component): Add tests for
'operator' in more locations.

21 years ago2003-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 23 Apr 2003 22:28:42 +0000 (22:28 +0000)]
2003-04-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Eliminate redundant
indentation.  Move "saved_async" and "old_cleanups" to where they
are needed.

21 years ago2003-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 23 Apr 2003 22:12:40 +0000 (22:12 +0000)]
2003-04-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Eliminate the variables "rc"
and "buffer".  Move the "name" code to where it is needed.

21 years ago2003-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 23 Apr 2003 21:14:33 +0000 (21:14 +0000)]
2003-04-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Move variables "start_sp",
"dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
code to ON_STACK switch branch.

21 years agobfd:
amylaar [Wed, 23 Apr 2003 21:09:01 +0000 (21:09 +0000)]
bfd:
        * archures.c (enum bfd_architecture): Amend comment to refer to SuperH.
        * cpu-sh.c: Likewise.
        * elf32-sh.c: Likewise.
        * reloc.c (bfd_reloc_code_real): Likewise.
        * elf32-sh64-com.c: Change comment to refer to SuperH.
        * elf32-sh64.c: Likewise.
        * elf64-sh64.c: Likewise.
        * bfd-in2.h (enum bfd_architecture): Regenerate.
binutils:
        * readelf.c (get_machine_name) <EM_SH>: Amend return value
        to refer to SuperH.
gas:
        * config/tc-sh.c: Amend comment to refer to SuperH.
        * config/tc-sh.h: Likewise.
        (LISTING_HEADER): Amend to refer to SuperH.
        * config/tc-sh64.c: Change comment to refer to SuperH.
        * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
        * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
        * doc/c-sh.texi: Amend to refer to SuperH.
        Add SuperH architecture documentation references.
        * doc/c-sh64.texi: Change to refer to SuperH.
include/elf:
        * common.h (EM_SH): Amend comment to refer to SuperH.
ld/testsuite:
        * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH.
        * ld-sh/sh64/crange3-media.rd (Machine): Likewise.

21 years ago2003-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 23 Apr 2003 20:31:57 +0000 (20:31 +0000)]
2003-04-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Make declaration of "i",
"sal", "bpt" and "old_sp" more local to their use.  Delete #if
lint.

21 years ago2003-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 23 Apr 2003 19:32:37 +0000 (19:32 +0000)]
2003-04-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Delete variable
"n_method_args".  Localize "param_type"'s declaration to the loop
that it is used.  Reinstate code assigning to said variable -
deleted on 2002-06-14.  Rationalize calls to value_args_coerce.
Rationalize code using "param_type".

21 years agoHandle the simulation of programs that load with data in ROM which needs to be
nickc [Wed, 23 Apr 2003 17:54:00 +0000 (17:54 +0000)]
Handle the simulation of programs that load with data in ROM which needs to be
copied into RAM before execution starts.

21 years agoMore checks for valid labels
nickc [Wed, 23 Apr 2003 17:51:41 +0000 (17:51 +0000)]
More checks for valid labels

21 years agoFix "readelf -wi" test
nickc [Wed, 23 Apr 2003 17:36:07 +0000 (17:36 +0000)]
Fix "readelf -wi" test

21 years agoCheck in the new files.
hjl [Wed, 23 Apr 2003 16:40:04 +0000 (16:40 +0000)]
Check in the new files.

21 years ago2003-04-23 H.J. Lu <hjl@gnu.org>
hjl [Wed, 23 Apr 2003 16:34:39 +0000 (16:34 +0000)]
2003-04-23  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty
files.
(objdump_versionstuff): Likewise.
Add tests vers25a, vers25b1 and vers25b2 for versioned
definition vs. normal definition in different files.

* ld-elfvers/vers25a.c: New file.
* ld-elfvers/vers25a.dsym: Likewise.
* ld-elfvers/vers25a.map: Likewise.
* ld-elfvers/vers25a.ver: Likewise.

* ld-elfvers/vers25b.c: New empty file.
* ld-elfvers/vers25b.dsym: Likewise.
* ld-elfvers/vers25b.ver: Likewise.

21 years ago2003-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 23 Apr 2003 15:02:02 +0000 (15:02 +0000)]
2003-04-22  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Use new variable "bp_addr" to
compute the breakpoint address.  Only call FIX_CALL_DUMMY when
ON_STACK.  Eliminate the variable "addr".  Do not pass "real_pc"
to DEPRECATED_PUSH_RETURN_ADDRESS.

21 years agoAccept -fo as an alias for -o
nickc [Wed, 23 Apr 2003 09:00:22 +0000 (09:00 +0000)]
Accept -fo as an alias for -o

21 years ago * elf32-i386.c (elf_i386_info_to_howto): Delete.
amodra [Wed, 23 Apr 2003 05:21:29 +0000 (05:21 +0000)]
* elf32-i386.c (elf_i386_info_to_howto): Delete.
(elf_info_to_howto): Define as elf_i386_info_to_howto_rel.

21 years ago*** empty log message ***
gdbadmin [Wed, 23 Apr 2003 03:38:43 +0000 (03:38 +0000)]
*** empty log message ***

21 years agofix typo
cgf [Wed, 23 Apr 2003 01:54:17 +0000 (01:54 +0000)]
fix typo

21 years ago* select.cc (fhandler_pipe::ready_for_read): Assure that get_guard is called
cgf [Wed, 23 Apr 2003 01:27:51 +0000 (01:27 +0000)]
* select.cc (fhandler_pipe::ready_for_read): Assure that get_guard is called
for successful non-blocking pipe reads.

21 years agodaily update
amodra [Wed, 23 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
kevinb [Tue, 22 Apr 2003 23:18:26 +0000 (23:18 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
on the DWARF2 register number prior to fetching a register.

21 years ago * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
brobecke [Tue, 22 Apr 2003 23:04:39 +0000 (23:04 +0000)]
    * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
        Update all the tests using SOFT_FLOAT considering the fact that
        this macro was always set to 0.
        * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
        considering the fact that this macro was always set to 0.
        * hppa-tdep.h (hppa_store_return_value): Likewise.
        (hppa_extract_return_value): Likewise.

21 years agomerge from gcc
dj [Tue, 22 Apr 2003 20:04:52 +0000 (20:04 +0000)]
merge from gcc

21 years ago * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
devans [Tue, 22 Apr 2003 18:50:55 +0000 (18:50 +0000)]
* fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
* frv-desc.c,frv-desc.h,frv-opc.c,frv-opc.h: Regenerate.
* ip2k-desc.c,ip2k-desc.h,ip2k-opc.c,ip2k-opc.h: Regenerate.
* m32r-desc.c,m32r-desc.h,m32r-opc.c,m32r-opc.h: Regenerate.
* m32r-opinst.c: Regenerate.
* openrisc-desc.c,openrisc-desc.h,openrisc-opc.c,openrisc-opc.h: Regenerate.
* xstormy16-desc.c,xstormy16-desc.h,xstormy16-opc.c,xstormy16-opc.h: Regenerate.

21 years ago * config/pa/tm-hppa.h: Remove obsolete code, was used by
brobecke [Tue, 22 Apr 2003 18:27:47 +0000 (18:27 +0000)]
    * config/pa/tm-hppa.h: Remove obsolete code, was used by
        the hppa-pro target only.

21 years ago2003-04-22 H.J. Lu <hjl@gnu.org>
hjl [Tue, 22 Apr 2003 17:46:51 +0000 (17:46 +0000)]
2003-04-22  H.J. Lu <hjl@gnu.org>

* app.c (do_scrub_chars): Check for valid label.

21 years agoRename -I to -J. Deprecate old use of -I, but leave it enabled for now.
nickc [Tue, 22 Apr 2003 17:31:08 +0000 (17:31 +0000)]
Rename -I to -J.   Deprecate old use of -I, but leave it enabled for now.

21 years agoReplace references to Mitsubishi M32R with references to Renesas M32R.
nickc [Tue, 22 Apr 2003 16:22:26 +0000 (16:22 +0000)]
Replace references to Mitsubishi M32R with references to Renesas M32R.

21 years agoReplace references to Mitsubishi M32R with references to Renesas M32R.
nickc [Tue, 22 Apr 2003 16:21:18 +0000 (16:21 +0000)]
Replace references to Mitsubishi M32R with references to Renesas M32R.

21 years agoReplace references to Mitsubishi M32R with references to Renesas M32R.
nickc [Tue, 22 Apr 2003 16:20:49 +0000 (16:20 +0000)]
Replace references to Mitsubishi M32R with references to Renesas M32R.

21 years agoReplace references to Mitsubishi M32R with references to Renesas M32R.
nickc [Tue, 22 Apr 2003 16:18:41 +0000 (16:18 +0000)]
Replace references to Mitsubishi M32R with references to Renesas M32R.

21 years ago2003-04-22 H.J. Lu <hjl@gnu.org>
hjl [Tue, 22 Apr 2003 15:00:02 +0000 (15:00 +0000)]
2003-04-22  H.J. Lu <hjl@gnu.org>

* ld-elfcomm/elfcomm.exp: Support 64bit targets.

21 years ago * include/inttypes.h: New file.
corinna [Tue, 22 Apr 2003 14:55:00 +0000 (14:55 +0000)]
* include/inttypes.h: New file.
* include/stdint.h: New file.
* include/cygwin/in.h: Include stdint.h instead of sys/types.h.
* include/cygwin/types.h: Include stdint.h.  Remove typedefs for
intN_t and uintN_t since these are defined in stdint.h now.

21 years ago Ongoing multi-arch conversion effort for HP/UX:
brobecke [Tue, 22 Apr 2003 02:44:27 +0000 (02:44 +0000)]
   Ongoing multi-arch conversion effort for HP/UX:
       * config/pa/tm-hppa.h: Move all macro that are no longer
       defined now that GDB_MULTI_ARCH is now set to 1 from here...
       * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).

21 years ago * config/pa/tm-hppa.h: Obsolete a section that was only used
brobecke [Tue, 22 Apr 2003 01:13:04 +0000 (01:13 +0000)]
   * config/pa/tm-hppa.h: Obsolete a section that was only used
       for hppa-pro.

21 years ago Ongoing multi-arch conversion for HP/UX.
brobecke [Tue, 22 Apr 2003 00:53:53 +0000 (00:53 +0000)]
    Ongoing multi-arch conversion for HP/UX.
        * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
        if already defined (allows hppa64 to stay non-multiarched for now).
        * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.

21 years ago*** empty log message ***
gdbadmin [Tue, 22 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 22 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
rth [Mon, 21 Apr 2003 22:17:12 +0000 (22:17 +0000)]
    * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
        executable when a symbol is defined both regular and dynamic.

21 years ago2003-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 21 Apr 2003 19:34:01 +0000 (19:34 +0000)]
2003-04-21  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_id_eq): Fail when the code_addr's do not match.

21 years ago2003-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 21 Apr 2003 18:55:50 +0000 (18:55 +0000)]
2003-04-21  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
"i386_num_mmx_regs".

21 years ago * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
rth [Mon, 21 Apr 2003 18:23:25 +0000 (18:23 +0000)]
    * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
        (out_file_list): Assign non-null filename after generating error.

21 years ago2003-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 21 Apr 2003 16:48:36 +0000 (16:48 +0000)]
2003-04-21  Andrew Cagney  <cagney@redhat.com>

* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.

21 years ago * ld-m68hc11/far-hc11.s: New file.
ciceron [Mon, 21 Apr 2003 13:30:14 +0000 (13:30 +0000)]
* ld-m68hc11/far-hc11.s: New file.
* ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation.
* ld-m68hc11/far-hc12.s: New file.
* ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation.
* ld-m68hc11/far-hc12.ld: New file.

21 years ago * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
ciceron [Mon, 21 Apr 2003 13:29:04 +0000 (13:29 +0000)]
* emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
* emulparams/m68hc11elfb.sh: Likewise.
* emulparams/m68hc12elf.sh: Likewise.
* emulparams/m68hc12elfb.sh: Likewise.