OSDN Git Service

pf3gnuchains/sourceware.git
21 years agoAdd support for the MIPS "fir" register. Fix support for the MIPS "fsr"
kevinb [Thu, 10 Apr 2003 20:35:54 +0000 (20:35 +0000)]
Add support for the MIPS "fir" register.  Fix support for the MIPS "fsr"
register.

21 years agoSetup updates. More about installing everything, not using setup to mirror.
davidsb [Thu, 10 Apr 2003 20:09:35 +0000 (20:09 +0000)]
Setup updates.  More about installing everything, not using setup to mirror.

21 years ago2003-04-09 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Thu, 10 Apr 2003 20:07:57 +0000 (20:07 +0000)]
2003-04-09  Chris Demetriou  <cgd@broadcom.com>

        * mips/cfe.c (_flush_cache): New function.

21 years ago * regex/regex.h: Define regoff_t as _off_t.
corinna [Thu, 10 Apr 2003 19:49:28 +0000 (19:49 +0000)]
* regex/regex.h: Define regoff_t as _off_t.
* regex/regex2.h: Ditto.

21 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
bwilson [Thu, 10 Apr 2003 19:19:01 +0000 (19:19 +0000)]
    * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
        next relocation on an undefined symbol.

21 years ago2003-04-10 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 10 Apr 2003 15:32:26 +0000 (15:32 +0000)]
2003-04-10  Andrew Cagney  <cagney@redhat.com>

* frame.c (fprint_frame_id): New function.
(fprint_frame_type, fprint_frame): New function.
(frame_pc_unwind, frame_func_unwind): Add/update trace code.
(create_sentinel_frame, get_frame_id): Ditto.
(frame_id_p, frame_id_eq): Ditto.
(frame_id_inner, create_new_frame): Ditto.
(legacy_get_prev_frame, get_prev_frame): Ditto.
(deprecated_update_frame_pc_hack): Ditto.
(frame_register_unwind): Ditto.
(deprecated_update_frame_base_hack): Ditto.

21 years ago2003-04-10 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 10 Apr 2003 13:38:15 +0000 (13:38 +0000)]
2003-04-10  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/completion.exp: Use string_to_regexp to match the
working directory name.

21 years ago * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
corinna [Thu, 10 Apr 2003 13:15:49 +0000 (13:15 +0000)]
* i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
(i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
frame_chain function.
* Makefile.in: Add dependencies due to above change.

21 years ago * blockframe.c (legacy_frame_chain_valid): Move call to
corinna [Thu, 10 Apr 2003 11:12:29 +0000 (11:12 +0000)]
* blockframe.c (legacy_frame_chain_valid): Move call to
DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
inside_entry_file.

21 years ago * cygwin.din: Export wcscoll, wcswidth and wcwidth.
corinna [Thu, 10 Apr 2003 08:22:40 +0000 (08:22 +0000)]
* cygwin.din: Export wcscoll, wcswidth and wcwidth.
* include/cygwin/version.h: Bump API minor number.

21 years ago* cygthread.h: Change 'avail' cygthread element to 'inuse' throughout.
cgf [Thu, 10 Apr 2003 05:27:33 +0000 (05:27 +0000)]
* cygthread.h: Change 'avail' cygthread element to 'inuse' throughout.
* cygthread.cc: Ditto.
(cygthread::stub): Don't initialize already initialized events.
(cygthread::freerange): Don't create thread here.
(cygthread::cygthread): Create thread here.  Die if thread not created.
(cygthread::operator new): Simplify.  Just grab a thread structure from the
pool.  Don't try to start the thread.
(cygthread::terminate_thread): Don't close event handles.  Just reuse them.
Call MEM_RELEASE rather than MEM_DECOMMIT (from Joe Buehler).

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 10 Apr 2003 03:30:35 +0000 (03:30 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.h (struct frame_id): Replace "pc" and "base" with
"stack_addr" and "code_addr".  Update comments.
(frame_id_build): Update parameter names and comment.
(struct frame_info): Replace "id_p" and "id" with "this_id".
* dummy-frame.c (dummy_frame_this_id): Update.
* breakpoint.c (print_one_breakpoint): Update.
* frame.c (get_frame_id): Update.
(get_frame_base, frame_id_build): Update.
(create_sentinel_frame, legacy_get_prev_frame): Update.
(deprecated_update_frame_base_hack): Update.
(frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
(frame_id_inner): Ditto.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 10 Apr 2003 02:18:40 +0000 (02:18 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* defs.h (gdb_print_host_address): Make "addr" parameter a
pointer constant.
* utils.c (gdb_print_host_address): Update.

21 years ago2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Thu, 10 Apr 2003 01:14:18 +0000 (01:14 +0000)]
2003-04-10  Pierre Humblet  <pierre.humblet@ieee.org>

        * mkpasswd.c (current_user): print uid and gid as unsigned.
        (enum_users): Ditto. Do not free servername.
        (usage): Update to allow several domains and improve -p.
        (main): On Win9x limit uids to 1000. Only print specials
        when -l is specified. Add a loop to allow several domains
        and free servername in the loop.
        * mkgroup.c (enum_groups): Do not free servername.
        (usage): Update to allow several domains. Change uid to gid.
        (main): Only print specials when -l is specified. Add a
        loop to allow several domains and free servername in the loop.

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

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

21 years ago* gdb.c++/derivation.exp, gdb.c++/overload.exp,
jimb [Wed, 9 Apr 2003 23:21:13 +0000 (23:21 +0000)]
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: If GDB fails to restore the selected frame
after an inferior function call, report the failure, but allow the
test to continue.

21 years ago * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
kevinb [Wed, 9 Apr 2003 22:44:24 +0000 (22:44 +0000)]
* rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
register number for R0 is 0.

21 years ago * frame.h (struct gdbarch): Add opaque structure definition
brobecke [Wed, 9 Apr 2003 21:53:28 +0000 (21:53 +0000)]
    * frame.h (struct gdbarch): Add opaque structure definition
        to avoid a compilation warning on LynxOS 4.0.

21 years ago * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
ciceron [Wed, 9 Apr 2003 21:48:38 +0000 (21:48 +0000)]
* doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
-mlong, -mshort-double and -mlong-double options; use table @code.
(M68HC11-Syntax): Update to document 68HC12 operands.
(M68HC11-Modifiers): New section for operand modifiers.
(M68HC11-Directives): New section for specific assembler directives.
(M68HC11-Branch): Fix Overfull hbox error.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 9 Apr 2003 20:49:22 +0000 (20:49 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.h (struct frame_info): Delete field "pc".  Replace
"pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
structure.
* frame.c (frame_pc_unwind): Update.
(create_sentinel_frame): Do not set "pc".
(get_prev_frame): Do not set "pc".  Use frame_pc_unwind.
(get_frame_pc): Call frame_pc_unwind.
(deprecated_update_frame_pc_hack): Update.
(create_new_frame): Use "pc" not "->pc".

21 years ago * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
rth [Wed, 9 Apr 2003 20:08:14 +0000 (20:08 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
        Ignore relocations against r_symndx == 0.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 9 Apr 2003 18:24:00 +0000 (18:24 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Eliminate code updating "frame".
(legacy_get_prev_frame): Ditto.
(get_frame_base): Return id.base directly.
(deprecated_update_frame_base_hack): Update "id.base".
* frame.h (struct frame_info): Delete field "frame".

21 years ago2003-04-09 H.J. Lu <hjl@gnu.org>
hjl [Wed, 9 Apr 2003 16:19:51 +0000 (16:19 +0000)]
2003-04-09  H.J. Lu <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_relocate_section): Don't return
FALSE for undefined symbols.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 9 Apr 2003 16:19:50 +0000 (16:19 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention that the "Sequent family" is obsolete.
* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* configure.host: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* config/i386/tm-ptx4.h: Obsolete file.
* config/i386/tm-ptx.h: Obsolete file.
* symm-tdep.c: Obsolete file.
* config/i386/symmetry.mt: Obsolete file.
* config/i386/tm-symmetry.h: Obsolete file.
* symm-nat.c: Obsolete file.
* config/i386/nm-symmetry.h: Obsolete file.
* config/i386/xm-symmetry.h: Obsolete file.
* config/i386/symmetry.mh: Obsolete file.
* config/i386/nm-ptx4.h: Obsolete file.
* config/i386/ptx4.mh: Obsolete file.
* config/i386/ptx.mt: Obsolete file.
* config/i386/ptx.mh: Obsolete file.
* config/i386/xm-ptx4.h: Obsolete file.
* config/i386/xm-ptx.h: Obsolete file.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 9 Apr 2003 16:10:04 +0000 (16:10 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

Obsolete mips*-*-mach3*.
* NEWS: Mention that mips*-*-mach3* is obsolete.
* m3-nat.c: Obsolete file.
* config/nm-m3.h: Obsolete file.
* config/mips/tm-mipsm3.h: Obsolete file.
* config/mips/mipsm3.mt: Obsolete file.
* config/mips/mipsm3.mh: Obsolete file.
* config/mips/xm-mipsm3.h: Obsolete file.
* mipsm3-nat.c: Obsolete file.
* configure.host: Obsolete mips-dec-mach3*.
* configure.tgt: Obsolete mips*-*-mach3*.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 9 Apr 2003 15:08:25 +0000 (15:08 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* doublest.h: Update copyright.
(deprecated_store_floating, deprecated_extract_floating): Rename
store_floating and extract_floating.  Update comments.
* doublest.c: Update copyright.
(extract_floating_by_length): Replace extract_floating.
(store_floating_by_length): Replace store_floating.
(deprecated_extract_floating): New function.
(deprecated_store_floating): New function.
(extract_typed_floating): Call extract_floating_by_length.
(store_typed_floating): Call store_floating_by_length.
* x86-64-tdep.c (x86_64_store_return_value): Update.
* sh-tdep.c (sh3e_sh4_extract_return_value): Update.
(sh64_extract_return_value): Update.
(sh_sh4_register_convert_to_virtual): Update.
(sh_sh64_register_convert_to_virtual): Update.
(sh_sh4_register_convert_to_raw): Update.
(sh_sh64_register_convert_to_raw): Update.
* rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
(rs6000_register_convert_to_raw): Update.
* ia64-tdep.c (ia64_register_convert_to_virtual): Update.
(ia64_register_convert_to_raw): Update.
* config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
(REGISTER_CONVERT_TO_VIRTUAL): Update.
* arm-linux-tdep.c (arm_linux_push_arguments): Update.
* alpha-tdep.c (alpha_register_convert_to_virtual): Update.
(alpha_register_convert_to_raw): Update.

21 years agoAdd initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.
nickc [Wed, 9 Apr 2003 11:07:50 +0000 (11:07 +0000)]
Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.
Add ctors/dtors start/stop definitions.

21 years ago * libc/machine/sh/memset.S: Avoid clobbering volatile
amylaar [Wed, 9 Apr 2003 10:48:01 +0000 (10:48 +0000)]
* libc/machine/sh/memset.S: Avoid clobbering volatile
objects following a tiny to-be-set array in the same quadword.

21 years ago * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
corinna [Wed, 9 Apr 2003 10:42:11 +0000 (10:42 +0000)]
* libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
* libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
* libc/string/Makefile.in: Regenerated.
* libc/string/wcswidth.c: New file.
* libc/string/wcwidth.c: New file.
* libc/string/wcstrings.tex: Add wcswidth and wcwidth.

21 years ago* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
aoliva [Wed, 9 Apr 2003 09:56:16 +0000 (09:56 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
and IRIX-specific shift-to-64-bit 4-byte lengths before following
addr_size.

21 years ago* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
aoliva [Wed, 9 Apr 2003 09:55:09 +0000 (09:55 +0000)]
* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
for debugging information types not supported by objdump.

21 years ago * configure.in: Recognize canonical form of i[3-6]86-pe*.
amodra [Wed, 9 Apr 2003 05:14:35 +0000 (05:14 +0000)]
* configure.in: Recognize canonical form of i[3-6]86-pe*.
* configure: Regenerate.

21 years ago* readelf.c (display_debug_info): Apply RELA relocations on the
aoliva [Wed, 9 Apr 2003 04:07:55 +0000 (04:07 +0000)]
* readelf.c (display_debug_info): Apply RELA relocations on the
entire section.
(byte_put_little_endian, byte_put_big_endian): New functions.
(byte_put): New variable.
(get_file_header): Initialize it.

21 years ago* config/tc-mips.c (macro): Add comments explaining the rationale
aoliva [Wed, 9 Apr 2003 03:09:12 +0000 (03:09 +0000)]
* config/tc-mips.c (macro): Add comments explaining the rationale
for Chris' change.

21 years ago* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
aoliva [Wed, 9 Apr 2003 03:07:48 +0000 (03:07 +0000)]
* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
constant address that Alexandre took out by accident.  Reject
64-bit addresses that are not sign extensions of 32 bits only if
we don't support 64-bit address constants.

21 years ago* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
aoliva [Wed, 9 Apr 2003 02:55:39 +0000 (02:55 +0000)]
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
pointer size from ABI, not arch_bits_per_address.

21 years ago * mips.h: Correct comment typo.
amodra [Wed, 9 Apr 2003 00:12:24 +0000 (00:12 +0000)]
* mips.h: Correct comment typo.

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

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

21 years ago * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
amodra [Tue, 8 Apr 2003 23:01:47 +0000 (23:01 +0000)]
* config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.

21 years agoadd lack of '~' to ash missing features
davidsb [Tue, 8 Apr 2003 22:24:27 +0000 (22:24 +0000)]
add lack of '~' to ash missing features

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 8 Apr 2003 21:56:08 +0000 (21:56 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
(d10v_gdbarch_init): Do not set saved_pc_after_call.
* infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
conditionally, use frame_pc_unwind as an alternative.  Add
comments.
* arch-utils.c (init_frame_pc_default): Only call
SAVED_PC_AFTER_CALL when available.

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 8 Apr 2003 21:48:40 +0000 (21:48 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdb792.exp: Skip when C++.

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 8 Apr 2003 21:25:33 +0000 (21:25 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

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

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 8 Apr 2003 21:20:06 +0000 (21:20 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
PRINT_TYPELESS_INTEGER.

21 years ago* fhandler_console.cc (fhandler_console::read) Handle certain key up events, to
cgf [Tue, 8 Apr 2003 21:19:32 +0000 (21:19 +0000)]
* fhandler_console.cc (fhandler_console::read) Handle certain key up events, to
allow pasting accented characters and typing them using the "alt + numerics"
sequences.
* include/limits.h (IOV_MAX): Set to a number which is small enough to use in
an array.

21 years ago2003-04-08 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 8 Apr 2003 19:21:14 +0000 (19:21 +0000)]
2003-04-08  Elena Zannoni  <ezannoni@redhat.com>

        * infrun.c (stop_soon): Rename from stop_soon_quietly.
(struct inferior_status): Rename stop_soon_quietly field to stop_soon.
(clear_proceed_status): Rename stop_soon_quietly to stop_soon.
(start_remote): Ditto.
(handle_inferior_event): Ditto.
(save_inferior_status): Ditto.
(restore_inferior_status): Ditto.
* infcmd.c (attach_command): Ditto.
* fork-child.c (startup_inferior): Ditto.
        * inferior.h (stop_soon): Rename from stop_soon_quietly.
* alpha-tdep.c (heuristic_proc_start): Ditto.
* mips-tdep.c (heuristic_proc_start): Ditto.
* solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-irix.c (irix_solib_create_inferior_hook): Ditto.
* remote-vx.c (vx_create_inferior): Ditto.

21 years ago2003-04-08 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 8 Apr 2003 18:52:03 +0000 (18:52 +0000)]
2003-04-08  Elena Zannoni  <ezannoni@redhat.com>

* infrun.c (stop_soon_quietly): Make it an enum, to better
override the default behavior of handle_inferior_event.
(clear_proceed_status): Update uses of stop_soon_quietly to
reflect that it is now an enum.
(start_remote): Ditto.
(handle_inferior_event): Change logic a bit if stop_soon_quietly
is set to handle the new GNU/Linux kernel behavior for
attach/sigstop.  Update uses of stop_soon_quietly.
* inferior.h (enum stop_kind): New enum.
* infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
Reset normal handle_inferior_event behavior, afterwards.
* fork-child.c (startup_inferior): Update.
* alpha-tdep.c (heuristic_proc_start): Update.
* solib-svr4.c (svr4_solib_create_inferior_hook): Update.
* solib-sunos.c (sunos_solib_create_inferior_hook): Update.
* solib-osf.c (osf_solib_create_inferior_hook): Update.
* solib-irix.c (irix_solib_create_inferior_hook): Update.
* remote-vx.c (vx_create_inferior): Update.
* mips-tdep.c (heuristic_proc_start): Update.

21 years ago* winsup.api/pthread/condvar9.c: Fix test.
tpfaff [Tue, 8 Apr 2003 18:29:36 +0000 (18:29 +0000)]
* winsup.api/pthread/condvar9.c: Fix test.

21 years ago* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
nickc [Tue, 8 Apr 2003 12:47:07 +0000 (12:47 +0000)]
* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
* cgen.c (gas_cgen_begin): New function.  If flag_signed_overflow_ok is set
call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok.
* cgen.h: Prototype gas_cgen_begin.
* testsuite/gas/m32r/m32r.exp: Run signed-relocs test.
* testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs.
* testsuite/gas/m32r/signed-relocs.d: New file: Expected results

21 years ago* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
nickc [Tue, 8 Apr 2003 09:50:04 +0000 (09:50 +0000)]
* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
* ia64-asmtab.c: Regenerate.
* gas/ia64/dependency-1.s: New file: Test read before write dependency.
* gas/ia64/dependency-1.d: New file: Expected assembly results.
* gas/ia64/ia64.exp: Run the new test.

21 years ago* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.
aoliva [Tue, 8 Apr 2003 07:14:47 +0000 (07:14 +0000)]
* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.

21 years ago2003-04-04 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 8 Apr 2003 01:40:31 +0000 (01:40 +0000)]
2003-04-04  Elena Zannoni  <ezannoni@redhat.com>

* disasm.c (dump_insns):  Move variables inside loop, or they will
        be freed more than once, causing wild memory corruptions.
(gdb_disassembly): Look for the substring "-thread",
        instead of "-threads" in the target name, to make sure to find
        the 'multi-thread' target.  Also, make sure we do the right thing
        with the "core" target.

21 years ago* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.
aoliva [Tue, 8 Apr 2003 00:39:16 +0000 (00:39 +0000)]
* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.

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

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

21 years ago * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
kevinb [Mon, 7 Apr 2003 20:08:09 +0000 (20:08 +0000)]
* elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
constants for n32 ABI.

21 years ago * mips-tdep.c (mips_print_fp_register): New function, created from
kevinb [Mon, 7 Apr 2003 18:38:03 +0000 (18:38 +0000)]
* mips-tdep.c (mips_print_fp_register): New function, created from
do_fp_register_row().  Registers are now (also) printed as hex.
Only one register is printed per row.
(mips_print_register, do_fp_register_row): Print floating point
registers with mips_print_fp_register().

21 years agooops - omitted from previous delta
nickc [Mon, 7 Apr 2003 10:09:54 +0000 (10:09 +0000)]
oops - omitted from previous delta

21 years ago * write.c (write_relocs): Remove unused variable.
ths [Mon, 7 Apr 2003 03:54:00 +0000 (03:54 +0000)]
* write.c (write_relocs): Remove unused variable.

21 years ago * include/time.h (strftime): Remove duplicate declaration.
dannysmith [Mon, 7 Apr 2003 01:31:37 +0000 (01:31 +0000)]
* include/time.h (strftime): Remove duplicate declaration.

21 years ago2003-04-07 Marcel Telka <telka@users.sourceforge.net>
dannysmith [Mon, 7 Apr 2003 01:06:23 +0000 (01:06 +0000)]
2003-04-07 Marcel Telka <telka@users.sourceforge.net>

* include/ddk/winddk.h (KIRQL): Typedef as UCHAR. not ULONG.

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

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

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 6 Apr 2003 19:25:03 +0000 (19:25 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* valprint.h (inspect_it): Add extern declaration.
* objc-lang.c (value_nsstring): Avoid assignment inside of "if".
(selectors_info, classes_info): Ditto.
(find_objc_msgcall): Fix indentation.
(objc_printstr): Delete extern declarations.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 6 Apr 2003 19:08:17 +0000 (19:08 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* arm-tdep.c (arm_frameless_function_invocation): Fix typo.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 6 Apr 2003 18:36:22 +0000 (18:36 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
Update comment.
* frame.c (legacy_saved_regs_this_id): Update.
(legacy_get_prev_frame): Update.
* xstormy16-tdep.c: Update comment.
* sparc-tdep.c (sparc_frame_chain): Update comment.
* blockframe.c (legacy_frame_chain_valid): Update.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 6 Apr 2003 14:50:15 +0000 (14:50 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* valprint.c (val_print_type_code_int): Delete #ifdef
PRINT_TYPELESS_INTEGER code.

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

* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
(CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
multi-arch definition.
* gdbarch.h: Re-generate.

21 years agoAdd notes about the target specific nature of i386 PE command line options.
nickc [Sun, 6 Apr 2003 09:38:11 +0000 (09:38 +0000)]
Add notes about the target specific nature of i386 PE command line options.

21 years ago* simops.c (OP_40): Delete. Move code to...
nickc [Sun, 6 Apr 2003 08:51:04 +0000 (08:51 +0000)]
* simops.c (OP_40): Delete.  Move code to...
* v850-igen.c (): ...Here. Sign extend the first operand.
* simops.h (OP_40): Remove prototype.

21 years ago(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
nickc [Sun, 6 Apr 2003 08:15:58 +0000 (08:15 +0000)]
(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
vs BFD memory corruption.

21 years ago* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
aoliva [Sun, 6 Apr 2003 03:16:19 +0000 (03:16 +0000)]
* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
(macro): Use new macro to decide whether to emit constant address
as 32 or 64 bits if addresses are 32-bit wide but registers are
64-bit wide.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 6 Apr 2003 01:13:58 +0000 (01:13 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

Eliminate FRAME_FIND_SAVED_REGS.
* config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
Change FSR parameter to a pointer.
* config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
Assume FSR parameter is a pointer.
* hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
Make fsr a pointer.
* hppa-tdep.c (hppa_frame_find_saved_regs): New function.
(hppa_frame_saved_pc): Call hppa_frame_init_saved_regs.  Make
saved_regs a pointer.
(hppa_frame_saved_pc): Ditto.
(find_dummy_frame_regs): Make frame_saved_regs a pointer
(hppa_pop_frame): Call hppa_frame_init_saved_regs.  Make fsr a
pointer.
(restore_pc_queue): Make fsr a pointer.
(hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
(hppa_frame_chain): Make saved_regs a pointer, call
hppa_frame_init_saved_regs.
* sparc-tdep.c: Include "gdb_assert.h".
(sparc_frame_find_saved_regs): Replace internal_error with
gdb_assert.
* remote-vxsparc.c (vx_read_register): Delete reference to
FRAME_FIND_SAVED_REGS.
* gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
* gdbarch.h: Regenerate.
* frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
(deprecated_get_frame_saved_regs): Delete declaration.
(struct frame_saved_regs): Delete definition.
* frame.c (deprecated_get_frame_saved_regs): Delete function.
* config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
(hppa_frame_find_saved_regs): Delete declaration.
(FRAME_FIND_SAVED_REGS): Delete macro.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
* config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
FRAME_FIND_SAVED_REGS in comment.

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

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

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 5 Apr 2003 18:54:38 +0000 (18:54 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_func_unwind, get_frame_func): New functions.
* frame.h (get_frame_func, frame_func_unwind): Declare.
(struct frame_info): Add field "prev_func" for caching the
previous frame's function address.
* arm-tdep.c (arm_frameless_function_invocation): Combine
get_pc_function_start and get_frame_pc into get_frame_func.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_function_start): Ditto.
* rs6000-tdep.c (rs6000_pop_frame): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc): Ditto.
* m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
* ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
* i386-tdep.c (i386_frameless_signal_p): Ditto.
(i386_frame_init_saved_regs): Ditto.
* hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
* d10v-tdep.c (d10v_frame_unwind_cache): Combine
get_pc_function_start and frame_pc_unwind into frame_func_unwind.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.
* blockframe.c (frameless_look_for_prologue): Ditto.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 5 Apr 2003 15:49:54 +0000 (15:49 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (legacy_get_prev_frame): Link prev to next at the
function start.  Update comments.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 5 Apr 2003 15:39:33 +0000 (15:39 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Update comment.
(legacy_get_prev_frame): Update comment.
* gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
* gdbarch.h: Regenerate.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
* frame.h: Delete #ifdef EXTRA_FRAME_INFO code.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 5 Apr 2003 15:19:11 +0000 (15:19 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* stack.c (print_frame_info): Use get_frame_pc.

21 years ago * gdb.base/break.exp: marker4() is defined at line 46 when compiled
ciceron [Sat, 5 Apr 2003 13:35:25 +0000 (13:35 +0000)]
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.

21 years ago * gas/m68hc11/bug-1825.d (_table): Update.
ciceron [Sat, 5 Apr 2003 13:09:36 +0000 (13:09 +0000)]
* gas/m68hc11/bug-1825.d (_table): Update.
* gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs

21 years ago * gas/m68hc11/insns.s: Add %page and %addr checks.
ciceron [Sat, 5 Apr 2003 12:54:00 +0000 (12:54 +0000)]
* gas/m68hc11/insns.s: Add %page and %addr checks.
* gas/m68hc11/insns12.s: Likewise.
* gas/m68hc11/insns-dwarf2.d: Update.
* gas/m68hc11/insns.d: Update.

21 years ago * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
ciceron [Sat, 5 Apr 2003 12:43:44 +0000 (12:43 +0000)]
* config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
(M6811_OP_PAGE_ADDR): New internal define.
(get_operand): New modifier %page and %addr to obtain page and
address part of a far-function.
(fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
relocs.
(fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
(find_opcode): Add comment.
(md_estimate_size_before_relax): Force relocation of
STATE_UNDEXED_OFFSET types when the symbol is not absolute.
(tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
on the symbol itself so that DWARF2 strings are merged correctly.

21 years ago * gdb.base/break.exp: Revert last patch.
ciceron [Sat, 5 Apr 2003 10:40:59 +0000 (10:40 +0000)]
* gdb.base/break.exp: Revert last patch.

21 years agoAdd -l for compatibility with wrc, and rc. Use the short option as a key for
nickc [Sat, 5 Apr 2003 08:21:45 +0000 (08:21 +0000)]
Add -l for compatibility with wrc, and rc.  Use the short option as a key for
long options that have a synonymous short option.

21 years ago2003-04-04 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 5 Apr 2003 03:55:57 +0000 (03:55 +0000)]
2003-04-04  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Do not call frame_type_from_pc.  Set
the frame's type from the unwinder.
(get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
(create_new_frame, legacy_get_prev_frame): When the unwinder's
type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
(get_frame_base_address): Use get_frame_type.
(get_frame_locals_address, get_frame_args_address): Ditto.
(legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
* frame.h (enum frame_type): Add UNKNOWN_FRAME.
(struct frame_info): Add comment explaining why the frame contains
a "type" field.
* dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
* d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
* sentinel-frame.c (sentinel_frame_unwinder): Set the type to
NORMAL_FRAME.
* frame-unwind.h: Include "frame.h".
(struct frame_unwind): Add "type" field.
* Makefile.in (frame_unwind_h): Add $(frame_h).

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

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

21 years ago * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax.
ciceron [Fri, 4 Apr 2003 21:17:59 +0000 (21:17 +0000)]
* ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax.

21 years ago * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
ciceron [Fri, 4 Apr 2003 21:17:05 +0000 (21:17 +0000)]
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
symbols that mark the end of the section.
(m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when
converting to a relative branch so that the offset is computed after
the relaxation; also relocate a jsr into a bsr if possible but don't
relax them if they are to a far symbol as we need to call the
trampoline code.
(elf_m68hc11_howto_table): Set pcrel_offset to true.

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

* x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
* dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
* d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
get_frame_base.
(d10v_unwind_dummy_id): Use frame_id_build.
* frame.c (find_frame_sal): Use get_frame_pc.
(create_new_frame): Use deprecated_update_frame_pc_hack and
deprecated_update_frame_base_hack.
(create_sentinel_frame): Add comment about ->pc going away.
(get_prev_frame): Add comment about ->pc going away.
(legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
frame_id_build, deprecated_update_frame_pc_hack and
deprecated_update_frame_base_hack.
(select_frame): Use get_frame_pc.
(legacy_saved_regs_this_id): Use frame_id_build.

21 years ago * gdb.base/break.exp: marker4() is defined at line 46 when compiled
ciceron [Fri, 4 Apr 2003 20:03:46 +0000 (20:03 +0000)]
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.

21 years ago2003-04-04 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 4 Apr 2003 19:30:49 +0000 (19:30 +0000)]
2003-04-04  Elena Zannoni  <ezannoni@redhat.com>

        * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
        signed integer case.
        (classify_argument): Handle enumerations and references.

21 years ago* cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked*
cgf [Fri, 4 Apr 2003 18:52:11 +0000 (18:52 +0000)]
* cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked*
functions.
* cygthread.cc (cygthread::init): Eliminate unneeded muto.
(cygthread::operator new): Don't lock.  Instead change use of avail variable
into tri-state: available (1), not available (-1), uninitialized (0).
(cygthread::terminate_thread): Set avail to uninitialized.
(cygthread::detach): Eliminate local 'avail'.  Always set avail to 1 unless
signalled.
* cygthread.cc (cygthread::operator new): Be more defensive when messing with

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.