OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago2003-04-04 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 4 Apr 2003 17:35:44 +0000 (17:35 +0000)]
2003-04-04  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips5.d: New test.
        * gas/mips/mips5.l: New test stderr listing.
        * gas/mips/mips5.s: New test source file.
        * gas/mips/mips.exp: Run the mips5 test.

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

* frame.c (create_sentinel_frame): Initialize the sentinel frame's
ID to NULL.

21 years agoFixed wrong entry in the ld/configure.tgt list
sveinse [Fri, 4 Apr 2003 14:13:15 +0000 (14:13 +0000)]
Fixed wrong entry in the ld/configure.tgt list

21 years ago* arm-tdep.c (push_stack_item): Use xmalloc.
rearnsha [Fri, 4 Apr 2003 12:37:13 +0000 (12:37 +0000)]
* arm-tdep.c (push_stack_item): Use xmalloc.

21 years agoNamespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003...
sveinse [Fri, 4 Apr 2003 08:15:13 +0000 (08:15 +0000)]
Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update

21 years agoadd comments
cgf [Fri, 4 Apr 2003 06:03:52 +0000 (06:03 +0000)]
add comments

21 years ago* cygthread.cc (operator new): Be more defensive when messing with threads that
cgf [Fri, 4 Apr 2003 05:58:06 +0000 (05:58 +0000)]
* cygthread.cc (operator new): Be more defensive when messing with threads that
are marked "unavailable".

21 years ago* gdb/objc-lang.c (selectors_info): Replace calls to
fedor [Fri, 4 Apr 2003 04:29:15 +0000 (04:29 +0000)]
* gdb/objc-lang.c (selectors_info): Replace calls to
SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
SYMBOL_NATURAL_NAME.
(classes_info, find_methods): Likewise.

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

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

21 years ago * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
kevinb [Thu, 3 Apr 2003 17:56:24 +0000 (17:56 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
``mach'' to the value determined by bfd_default_set_arch_mach().

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

* gdb.base/callfuncs.exp: Make "print add" messages unique.
* gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
matching directories by the name breakpoint.
* gdb.base/pointers.exp: Make "ptype pppC" message consistent.
Make "continue to marker1" consistent.
* gdb.base/call-rt-st.exp: Make "finish out from loop_count"
message consistent.
* lib/gdb.exp: Put "the program is no longer running", and "the
program exited" in parenthesis.
* lib/mi-support.exp: Ditto.

21 years ago * observer.texi (GDB Observers): Adjust the documentation for the
brobecke [Thu, 3 Apr 2003 15:14:48 +0000 (15:14 +0000)]
    * observer.texi (GDB Observers): Adjust the documentation for the
        normal_stop notification to better describe reality. Fix a couple
        of minor typos.

21 years ago* fhandler_console.cc (CONVERT_LIMIT): Use a size for the 21st century.
cgf [Thu, 3 Apr 2003 14:05:30 +0000 (14:05 +0000)]
* fhandler_console.cc (CONVERT_LIMIT): Use a size for the 21st century.

21 years agoAdd -U for compatibility with wrc, rc, and cpp. Just pass the -U option down
nickc [Thu, 3 Apr 2003 13:40:51 +0000 (13:40 +0000)]
Add -U for compatibility with wrc, rc, and cpp.  Just pass the -U option down
to the preprocessor.

21 years ago * libc/machine/sh/memset.S: Fix problem with alloco region
amylaar [Thu, 3 Apr 2003 13:06:01 +0000 (13:06 +0000)]
* libc/machine/sh/memset.S: Fix problem with alloco region
exceeding destination region for length >= 88 bytes, start
& 0x16 == 0, end & 0x1f == 18.

21 years ago(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
nickc [Thu, 3 Apr 2003 11:13:26 +0000 (11:13 +0000)]
(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
  executables.
(coff_swap_scnhdr_in): Only set the s_size field for object files or for
  executables who have not already initialised the field.
(bfd_pe_executable_p): New macro.  Return true if the PE format bfd is an
  executable.

21 years agoReplace "Static" with "classname" so that results match the behaviour of the
nickc [Thu, 3 Apr 2003 10:48:15 +0000 (10:48 +0000)]
Replace "Static" with "classname" so that results match the behaviour of the
Windows' resource compiler.

21 years ago * libc/string/wcscoll.c: Fix comment.
corinna [Thu, 3 Apr 2003 08:30:21 +0000 (08:30 +0000)]
* libc/string/wcscoll.c: Fix comment.

21 years ago * libc/include/wchar.h: Add definition for wcscoll.
corinna [Thu, 3 Apr 2003 08:26:06 +0000 (08:26 +0000)]
* libc/include/wchar.h: Add definition for wcscoll.
* libc/string/Makefile.am: Add wcscoll.c.
* libc/string/Makefile.in: Regenerated.
* libc/string/wcscoll.c: New file.
* libc/string/wcstrings.tex: Add wcscoll.

21 years ago * external.cc (check_ntsec): Return general ntsec state on NULL
corinna [Thu, 3 Apr 2003 08:18:43 +0000 (08:18 +0000)]
* external.cc (check_ntsec): Return general ntsec state on NULL
filename.  Check wincap.is_security() additionally.

21 years ago ChangeLog already commited yesterday:
corinna [Thu, 3 Apr 2003 08:04:40 +0000 (08:04 +0000)]
ChangeLog already commited yesterday:

* external.cc (check_ntsec): New function.
(cygwin_internal): Add CW_CHECK_NTSEC handling to call check_ntsec()
from applications.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CHECK_NTSEC.

21 years agoMention support for Xtensa architecture
nickc [Thu, 3 Apr 2003 07:37:40 +0000 (07:37 +0000)]
Mention support for Xtensa architecture

21 years agofix usage
cgf [Thu, 3 Apr 2003 04:07:57 +0000 (04:07 +0000)]
fix usage

21 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.
amodra [Thu, 3 Apr 2003 04:02:01 +0000 (04:02 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
amodra [Thu, 3 Apr 2003 02:54:51 +0000 (02:54 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
here as it's too early to reliably determine locality.
(ppc_elf_gc_sweep_hook): Likewise.

21 years ago* Makefile.in (EXTRA_OFILES): Remove debugging object.
cgf [Thu, 3 Apr 2003 01:23:36 +0000 (01:23 +0000)]
* Makefile.in (EXTRA_OFILES): Remove debugging object.

21 years ago2003-04-03 Philip Blundell <philb@gnu.org>
pb [Thu, 3 Apr 2003 00:25:01 +0000 (00:25 +0000)]
2003-04-03  Philip Blundell  <philb@gnu.org>

* gas/arm/offset.s: New test.
* gas/arm/arm.exp (run_errors_test): Run it.

21 years agoFixing Changelog for Makefile.in that I just committed
bobbybrasko [Thu, 3 Apr 2003 00:09:57 +0000 (00:09 +0000)]
Fixing Changelog for Makefile.in that I just committed

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

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

21 years agoI broke my first ChangeLog :), fixing it.
bobbybrasko [Wed, 2 Apr 2003 23:48:20 +0000 (23:48 +0000)]
I broke my first ChangeLog :), fixing it.

21 years ago2003-04-02 Philip Blundell <philb@gnu.org>
pb [Wed, 2 Apr 2003 23:31:25 +0000 (23:31 +0000)]
2003-04-02  Philip Blundell  <philb@gnu.org>

* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.

21 years ago* external.cc (check_ntsec): New function.
cgf [Wed, 2 Apr 2003 23:01:11 +0000 (23:01 +0000)]
* external.cc (check_ntsec): New function.
(cygwin_internal): Add CW_CHECK_NTSEC handling to call check_ntsec() from
applications.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CHECK_NTSEC.
* cygthread.cc (cygthread::new): Add more defensive debugging.

21 years agoAdding -file-list-exec-source-file command to MI
bobbybrasko [Wed, 2 Apr 2003 22:10:34 +0000 (22:10 +0000)]
Adding -file-list-exec-source-file command to MI

21 years ago[ gas/ChangeLog ]
cgd [Wed, 2 Apr 2003 18:43:16 +0000 (18:43 +0000)]
[ gas/ChangeLog ]
2003-04-02  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (macro2): Adjust implementation of
        M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
        in the case where the source and destination registers
        are the same.

[ gas/testsuite/ChangeLog ]
2003-04-02  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes.

        * gas/mips/mips.exp: Define new "gpr_ilocks" architecture
        property, and add it to mips2 (and later) chips and r3900.
        * gas/mips/uld2.s: New test source file.
        * gas/mips/ulh2.s: Likewise.
        * gas/mips/ulw2.s: Likewise.
        * gas/mips/uld2.l: New test stderr listing.
        * gas/mips/ulh2.l: Likewise.
        * gas/mips/ulw2.l: Likewise.
        * gas/mips/uld2-eb.d: New test.
        * gas/mips/uld2-el.d: Likewise.
        * gas/mips/ulh2-eb.d: Likewise.
        * gas/mips/ulh2-el.d: Likewise.
        * gas/mips/ulw2-eb-ilocks.d: Likewise.
        * gas/mips/ulw2-eb.d: Likewise.
        * gas/mips/ulw2-el-ilocks.d: Likewise.
        * gas/mips/ulw2-el.d: Likewise.
        * gas/mips/mips.exp: Run new tests for appropriate architectures.

21 years ago * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.
bwilson [Wed, 2 Apr 2003 18:00:34 +0000 (18:00 +0000)]
* ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.
* ld-xtensa/lcall.exp: Likewise.

21 years agope-dll.c (pe_detail_list): arm-pe targets use underscores.
nickc [Wed, 2 Apr 2003 17:39:24 +0000 (17:39 +0000)]
pe-dll.c (pe_detail_list): arm-pe targets use underscores.
(process_def_file): Don't create an export section if there are no exports and
  we're building an exe.
(pe_dll_build_sections): Ditto
(pe_dll_fill_sections): Conditionalize setting abfd->dll true on info->shared

emultempl/pe.em (gld_${EMULATION_NAME}_after_open): If i386pe or armpe, call
  pe_dll_build_section() for both exe's and dll's, not just dll's.  Don't call
  pe_dll_build_section() if link_info.relocateable.
(gld_${EMULATION_NAME}_finish): For all targets except shpe and mipspe, call
  pe_dll_fill_sections() for both exe's and dll's, not just dll's.  Don't call
  pe_dll_fill_sections() if link_info.relocateable.

21 years ago * emulparams/xtensa-config.sh: Remove comment indicating that this is
bwilson [Wed, 2 Apr 2003 16:56:55 +0000 (16:56 +0000)]
    * emulparams/xtensa-config.sh: Remove comment indicating that this is
        a generated file.

21 years ago * xtensa-config.h: Remove comment indicating that this is a
bwilson [Wed, 2 Apr 2003 16:55:26 +0000 (16:55 +0000)]
* xtensa-config.h: Remove comment indicating that this is a
generated file.

21 years ago * xtensa-modules.c: Remove comment indicating that this is a
bwilson [Wed, 2 Apr 2003 16:53:44 +0000 (16:53 +0000)]
* xtensa-modules.c: Remove comment indicating that this is a
generated file.

21 years ago * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
kevinb [Wed, 2 Apr 2003 05:12:25 +0000 (05:12 +0000)]
* mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
(mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.

21 years ago* Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
fedor [Wed, 2 Apr 2003 03:02:45 +0000 (03:02 +0000)]
* Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
* language.h (struct language_defn): Add la_demangle.
(language_demangle): Declare.
* language.c (language_demangle): New function.
(unk_lang_demangle): Likewise.
(unknown_language_defn, auto_language_defn, local_language_defn):
Add ukn_lang_demangle.
* ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
* f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
* c-lang.c (c_language_defn, asm_language_defn): Likewise.
(cplus_language_defn): Add cplus_demangle for la_demangle element.
* jv-lang.c (java_demangle): New function
(java_language_defn): Use it for la_demangle element.
* objc-lang.c (objc_demangle): Add options argument
(objc_language_defn): Use objc_demangle for la_demangle element.
* maint.c (maintenance_demangle): Replace switch with
call to language_demangle.
* utils.c (fprintf_symbol_filtered): Likewise.

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

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

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 1 Apr 2003 23:51:17 +0000 (23:51 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* printcmd.c (print_frame_nameless_args): Delete #ifdef
NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
PRINT_TYPELESS_INTEGER.
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
PUSH_RETURN_ADDRESS.

21 years ago * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
amodra [Tue, 1 Apr 2003 23:44:45 +0000 (23:44 +0000)]
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.

21 years ago* windres.c (usage): Report -r option.
cgf [Tue, 1 Apr 2003 23:09:29 +0000 (23:09 +0000)]
* windres.c (usage): Report -r option.
(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.

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

* Makefile.in (d10v-tdep.o): Update dependencies.
* d10v-tdep.c: Include "frame-base.h".
(d10v_frame_unwind): Make constant.
(d10v_frame_base_address): New function.
(d10v_frame_base): New variable.
(d10v_gdbarch_init): Set frame_base default.
(struct d10v_unwind_cache): Add the field "prev_sp".  Update
comment for base.
(d10v_frame_unwind_cache): Set and use "prev_sp".
(d10v_frame_this_id): Use the previous frame's inner most stack
address and this frame's func address for the frame ID.  Use
frame_id_build.  Don't analyze beyond the current instruction.

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

* frame.h (get_frame_locals_address, get_frame_args_address):
Refer to the base address, instead of the address of the first
local or parameter.

21 years ago * MAINTAINERS: Add myself as Xtensa maintainer.
bwilson [Tue, 1 Apr 2003 19:14:26 +0000 (19:14 +0000)]
    * MAINTAINERS: Add myself as Xtensa maintainer.

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

Add frame debug info addresses:
* frame-base.c: New file.
* frame-base.h: New file.
* frame.h (struct frame_base): Add opaque declaration.
(get_frame_base): Update comment.
(get_frame_base_address): Declare.
(get_frame_locals_address): Declare.
(get_frame_args_address): Declare.
(struct frame_info): Add "base" and "base_cache".  Update
comments on the unwinder.
* frame.c: Include "frame-base.h".
(get_frame_locals_address): New function.
(get_frame_base_address): New function.
(get_frame_args_address): New function.
* findvar.c (read_var_value): Use get_frame_locals_address and
get_frame_args_address.
* stack.c (frame_info): Use get_frame_locals_address and
get_frame_args_address.
(FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
moved to "frame-base.c".
* printcmd.c (print_frame_nameless_args): Ditto.
* symtab.h (address_class): Update comments.
* dwarf2loc.c (dwarf_expr_frame_base): Add note about
get_frame_base_address.
* dwarf2expr.c (execute_stack_op): Ditto.
* Makefile.in (frame_base_h): Define.
(frame.o): Update dependencies.
(frame-base.o): Add dependencies.
(SFILES): Add frame-base.c.
(COMMON_OBS): Add frame-base.o.

21 years ago * fhandler.cc (fhandler_base::fstat): Set the uid and gid fields
corinna [Tue, 1 Apr 2003 17:17:46 +0000 (17:17 +0000)]
* fhandler.cc (fhandler_base::fstat): Set the uid and gid fields
from the current effective ids.
* fhandler_socket.cc (fhandler_socket::fstat): Keep the uid and gid set
by fhandler_base::fstat.
* security.cc (get_nt_attribute): Do not test wincap.has_security ().
(get_nt_object_attribute): Ditto.
(get_file_attribute): Add test for wincap.has_security ().
(get_object_attribute): Ditto.

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 1 Apr 2003 17:17:27 +0000 (17:17 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
CALL_DUMMY_LENGTH): Ditto.
* gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
(CALL_DUMMY_LENGTH): Delete macro.
* alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.

21 years ago * libc/stdio/sscanf.c: Update flags description.
corinna [Tue, 1 Apr 2003 16:27:52 +0000 (16:27 +0000)]
* libc/stdio/sscanf.c: Update flags description.
* libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
type.
(__svfscanf_r): Add 'hh' and 'll' handling.

21 years ago * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t
corinna [Tue, 1 Apr 2003 16:11:41 +0000 (16:11 +0000)]
* dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t
throughout.
* fhandler.cc: Ditto.
* fhandler.h: Ditto.
* fhandler_clipboard.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* fhandler_dsp.cc: Ditto.
* fhandler_floppy.cc: Ditto.
* fhandler_mem.cc: Ditto.
* fhandler_proc.cc: Ditto.
* fhandler_process.cc: Ditto.
* fhandler_random.cc: Ditto.
* fhandler_registry.cc: Ditto.
* fhandler_tape.cc: Ditto.
* fhandler_termios.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_zero.cc: Ditto.
* mmap.cc: Ditto.
* pipe.cc: Ditto.
* syscalls.cc: Ditto.
* winsup.h: Ditto.
* include/cygwin/stat.h: Ditto.
* include/cygwin/types.h: Ditto.  Remove definition of __off32_t
and __off64_t.

21 years agoAdd Xtensa port (omitted from previous delta)
nickc [Tue, 1 Apr 2003 15:53:47 +0000 (15:53 +0000)]
Add Xtensa port (omitted from previous delta)

21 years agoAdd Xtensa port
nickc [Tue, 1 Apr 2003 15:50:25 +0000 (15:50 +0000)]
Add Xtensa port

21 years ago * frame.c (get_prev_frame): Disable call to inside_entry_file().
corinna [Tue, 1 Apr 2003 15:26:08 +0000 (15:26 +0000)]
* frame.c (get_prev_frame): Disable call to inside_entry_file().

21 years ago * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
corinna [Tue, 1 Apr 2003 14:53:01 +0000 (14:53 +0000)]
* libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
__d_position member to _off_t.

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 1 Apr 2003 14:38:46 +0000 (14:38 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
(CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
* infcmd.c (run_stack_dummy): Simplify assuming
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* infrun.c (handle_inferior_event): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Do not set
call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.

21 years ago * symfile.c (symfile_relocate_debug_section): Update call to
drow [Tue, 1 Apr 2003 14:17:19 +0000 (14:17 +0000)]
* symfile.c (symfile_relocate_debug_section): Update call to
bfd_simple_get_relocated_section_contents.

21 years ago * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
jakub [Tue, 1 Apr 2003 14:08:00 +0000 (14:08 +0000)]
* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
if --enable-64-bit-bfd.

21 years agofix spelling typo
nickc [Tue, 1 Apr 2003 13:10:07 +0000 (13:10 +0000)]
fix spelling typo

21 years agoFixes for iWMMXt contribution.
nickc [Tue, 1 Apr 2003 13:08:04 +0000 (13:08 +0000)]
Fixes for iWMMXt contribution.

21 years agoAdd tests for ARM simulator.
nickc [Tue, 1 Apr 2003 11:07:57 +0000 (11:07 +0000)]
Add tests for ARM simulator.

21 years agoChange "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe and
nickc [Tue, 1 Apr 2003 10:52:43 +0000 (10:52 +0000)]
Change "arm-pe*" to "arm-*-pe*".  Similarly for thumb-pe*, mcore-pe and
mcore-*elf.

21 years ago * dwarf2.c (read_attribute_value): Correct typo in comment.
bje [Tue, 1 Apr 2003 10:49:02 +0000 (10:49 +0000)]
* dwarf2.c (read_attribute_value): Correct typo in comment.

21 years agoMake add_line_info() take a copy of the filename.
nickc [Tue, 1 Apr 2003 10:31:34 +0000 (10:31 +0000)]
Make add_line_info() take a copy of the filename.

21 years agoRemove use of concat() inside concat_filename()
nickc [Tue, 1 Apr 2003 10:18:52 +0000 (10:18 +0000)]
Remove use of concat() inside concat_filename()

21 years ago* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
aoliva [Tue, 1 Apr 2003 00:34:04 +0000 (00:34 +0000)]
* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
--section-start.

21 years ago* objdump.c (dump_data): Don't truncate the address to long; make
aoliva [Tue, 1 Apr 2003 00:32:47 +0000 (00:32 +0000)]
* objdump.c (dump_data): Don't truncate the address to long; make
the width large enough, and uniform for all entries in a section.

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Add
drow [Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Add
parameter symbol_table.  Optionally use it instead of the symbol
table from the bfd.  Save and restore output offsets and output
sections  around bfd_get_relocated_section_contents.  Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise.  Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.

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

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

21 years ago2003-03-31 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 31 Mar 2003 23:52:36 +0000 (23:52 +0000)]
2003-03-31  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (FIX_CALL_DUMMY): Delete macro.
* valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
available.
* frame.h (generic_fix_call_dummy): Delete declaration.
* dummy-frame.h: Update comment.
* dummy-frame.c (generic_fix_call_dummy): Delete function.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
fix_call_dummy.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.

21 years ago * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
brobecke [Mon, 31 Mar 2003 22:12:48 +0000 (22:12 +0000)]
    * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
        (INIT_FRAME_AP): Likewise.
        (EXTRA_FRAME_INFO): Likewise.

21 years ago2003-03-31 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 31 Mar 2003 21:58:20 +0000 (21:58 +0000)]
2003-03-31  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Include "symfile.h".
(CALL_DUMMY_ADDRESS): Default to entry_point_address.
* gdbarch.h, gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_address, the default is at entry_point_address.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.

21 years ago* exceptions.cc (setup_handler): Make sure winapi lock is released when exiting
cgf [Mon, 31 Mar 2003 21:27:06 +0000 (21:27 +0000)]
* exceptions.cc (setup_handler): Make sure winapi lock is released when exiting
loop.

21 years ago * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
dannysmith [Mon, 31 Mar 2003 21:11:12 +0000 (21:11 +0000)]
* include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.

21 years ago2003-03-31 H.J. Lu <hjl@gnu.org>
hjl [Mon, 31 Mar 2003 19:29:45 +0000 (19:29 +0000)]
2003-03-31  H.J. Lu <hjl@gnu.org>

* readelf.c: Include "libiberty.h".
(dynamic_relocations): New.
(process_relocs): Properly handle dynamic relocation.
(process_dynamic_segment): Fill relocation elements in
dynamic_info.

21 years ago2003-03-31 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 31 Mar 2003 19:01:17 +0000 (19:01 +0000)]
2003-03-31  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (CALL_DUMMY_P): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_P): Delete macro.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* breakpoint.c (deprecated_frame_in_dummy): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* dummy-frame.c (dummy_frame_this_id): Update comments.
* rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
* frame.c (legacy_get_prev_frame): Ditto.
* valops.c (call_function_by_hand): Delete function.
(hand_function_call): Rename to call_function_by_hand

2003-03-31  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
references to CALL_DUMMY_P.

21 years ago2003-03-31 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 31 Mar 2003 19:01:04 +0000 (19:01 +0000)]
2003-03-31  Chris Demetriou  <cgd@broadcom.com>

        * gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New.
        (gmon_get_ptr_size, gmon_get_ptr_signedness): New.
        (gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc)
        (gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to
        use new functions and enums.

21 years agoFix memory leaks
nickc [Mon, 31 Mar 2003 18:13:24 +0000 (18:13 +0000)]
Fix memory leaks

21 years agoFix memory leaks
nickc [Mon, 31 Mar 2003 18:12:51 +0000 (18:12 +0000)]
Fix memory leaks

21 years agoAdd some initial 64-bit DWARF support
nickc [Mon, 31 Mar 2003 13:06:01 +0000 (13:06 +0000)]
Add some initial 64-bit DWARF support

21 years agoAllow resource IDs to be strings or numbers.
nickc [Mon, 31 Mar 2003 10:15:58 +0000 (10:15 +0000)]
Allow resource IDs to be strings or numbers.
Add a test for this.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 31 Mar 2003 04:35:24 +0000 (04:35 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

2002-11-10 Klee Dienes <kdienes@apple.com>
        * value.h (struct value): Update comment.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 31 Mar 2003 02:36:59 +0000 (02:36 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
D10V_FP_REGNUM.
(d10v_gdbarch_init): Do not set fp_regnum.

21 years agodaily update
amodra [Mon, 31 Mar 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 31 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-30 Hans E. Molin <kvasi@users.sourceforge.net>
dannysmith [Sun, 30 Mar 2003 21:19:04 +0000 (21:19 +0000)]
2003-03-30  Hans E. Molin  <kvasi@users.sourceforge.net>

* include/olectl.h (OleLoadPicturePath): Correct prototype.

21 years ago* include/cygwin/fs.h: Remove unneeded include.
cgf [Sun, 30 Mar 2003 17:28:51 +0000 (17:28 +0000)]
* include/cygwin/fs.h: Remove unneeded include.
* include/cygwin/in.h: Include sys/types.h rather than cygwin/types.h.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 30 Mar 2003 16:16:25 +0000 (16:16 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_base): Force ID initialization.
(get_prev_frame): Move computation of the frame ID from here ...
(get_frame_id): ... to here.
(legacy_get_prev_frame): Mark the frame ID as valid.
* frame.h (struct frame_info): Add field "id_p".

21 years ago* i386-tdep.c (i386_store_struct_return): Removed.
kettenis [Sun, 30 Mar 2003 15:03:46 +0000 (15:03 +0000)]
* i386-tdep.c (i386_store_struct_return): Removed.
(i386_gdbarch_init): Don't set deprecated_store_struct_return.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 30 Mar 2003 14:58:59 +0000 (14:58 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
* gdbarch.h, gdbarch.c: Regenerate.
* v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
* config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
* config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* valops.c (hand_function_call): Replace TARGET_WRITE_SP with
DEPRECATED_DUMMY_WRITE_SP.  Call when the method is available,
instead of when push_dummy_call is not available.

2003-03-30  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Remove
reference to TARGET_WRITE_SP.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 30 Mar 2003 14:52:41 +0000 (14:52 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

* infttrace.c: Include "gdbthread.h".
(parent_attach_all): Fix function signature.
(call_ptrace): Update call.
* Makefile.in (infttrace.o): Update dependencies.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 30 Mar 2003 14:32:08 +0000 (14:32 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
PUSH_RETURN_ADDRESS.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* valops.c (hand_function_call): Update.

21 years agoRemove use of __IWMMXT__.
nickc [Sun, 30 Mar 2003 10:39:22 +0000 (10:39 +0000)]
Remove use of __IWMMXT__.

21 years ago2003-03-29 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 30 Mar 2003 04:08:15 +0000 (04:08 +0000)]
2003-03-29  Andrew Cagney  <cagney@redhat.com>

* gdb.base/sizeof.c (main): Print the value of '\377'.
* gdb.base/sizeof.exp: Check the sign of '\377'.