OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
24 years agoAdd mapping ia64-linux-nat.c -> ia64linux-nat.c.
Kevin Buettner [Wed, 26 Apr 2000 21:27:35 +0000 (21:27 +0000)]
Add mapping ia64-linux-nat.c -> ia64linux-nat.c.

24 years ago Add XCOFF64 support.
Clinton Popetz [Wed, 26 Apr 2000 15:09:44 +0000 (15:09 +0000)]
Add XCOFF64 support.

bfd:
* Makefile.am (coff64-rs6000.lo): New rule.
* Makefile.in: Regenerate.
* coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
xcoff_is_local_label_name, xcoff_rtype2howto,
xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
(NO_COFF_SYMBOLS): Define.
(xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
internally.
(MINUS_ONE): New macro.
(xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
relocation.
(coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
coff_SWAP_aux_out): Map to the new functions.
* coff64-rs6000.c: New file.
* libcoff.h (bfd_coff_backend_data): Add new fields
_bfd_coff_force_symnames_in_strings and
_bfd_coff_debug_string_prefix_length.
(bfd_coff_force_symnames_in_strings,
bfd_coff_debug_string_prefix_length): New macros for above fields.
* coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
Set machine to 620 for XCOFF64.  Use bfd_coff_swap_sym_in instead
of using coff_swap_sym_in directly.
(FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
(coff_set_flags) Set magic for XCOFF64.
(coff_compute_section_file_positions): Add symbol name length to
string section length if bfd_coff_debug_string_prefix_length is
true.
(coff_write_object_contents): Don't do reloc overflow for XCOFF64.
(coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
using coff_swap_lineno_in directly.
(bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
and _bfd_coff_debug_string_prefix_length fields.
* coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
symbol names into strings table when
bfd_coff_force_symnames_in_strings is true.
* coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
SET_RELOC_VADDR): New macros.
(coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
(coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
code.
(coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
changes within RS6000COFF_C specific code.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Extend existing hack on target name.
* xcofflink.c (XCOFF_XVECP): Extend existing hack on
target name.
* coff-tic54x.c (ticof): Keep up to date with new fields
in bfd_coff_backend_data.
* config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
targ_selvecs to include rs6000coff64_vec for rs6000.
* configure.in: Add rs6000coff64_vec case.
  * cpu-powerpc.c: New bfd_arch_info_type.

gas:
* as.c (parse_args): Allow md_parse_option to override -a listing
option.
* config/obj-coff.c (add_lineno): Change type of offset parameter
from "int" to "bfd_vma."
* config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
(ppc_mach, ppc_subseg_align, ppc_target_format): New.
(ppc_change_csect): Align correctly for XCOFF64.
(ppc_machine): New function, which discards "ppc_machine" line.
(ppc_tc): Cons for 8 when code is 64 bit.
(md_apply_fix3): Don't check operand->insert.  Handle 64 bit
relocations.
(md_parse_option): Handle -a64 and -a32.
(ppc_xcoff64): New.
* config/tc-ppc.h (TARGET_MACH): Define.
(TARGET_FORMAT): Move to function.
(SUB_SEGMENT_ALIGN): Use ppc_subseg_align.

include:
* include/coff/rs6k64.h: New file.

opcodes:
* configure.in: Add bfd_powerpc_64_arch.
* disassemble.c (disassembler): Use print_insn_big_powerpc for
64 bit code.

24 years ago * ax-gdb.c (agent_command): Remove now useless cast of
Philippe De Muyter [Wed, 26 Apr 2000 12:41:48 +0000 (12:41 +0000)]
* ax-gdb.c (agent_command): Remove now useless cast of
`free_current_contents' when passed to `make_cleanup'.
* coffread.c (coff_symfile_read): Ditto.
* dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
(dwarf_decode_lines): Ditto.
* eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
(parse_and_eval, parse_to_comma_and_eval): Ditto.
* parse.c (parse_exp_1): Ditto.
* printcmd.c (print_command_1, output_command, set_command): Ditto.
(x_command, print_frame_args, printf_command): Ditto.
* top.c (execute_control_command): Ditto.
* tracepoint.c (validate_actionline): Ditto.
* typeprint.c (whatis_exp, ptype_command): Ditto.
(maintenance_print_type): Ditto.

24 years agoDocument bfd/doc/Makefile.in TEXINPUTS problem.
Andrew Cagney [Wed, 26 Apr 2000 08:12:39 +0000 (08:12 +0000)]
Document bfd/doc/Makefile.in TEXINPUTS problem.

24 years agoAdd arch-utils.h to IA-64 *-tdep.c files.
Kevin Buettner [Wed, 26 Apr 2000 07:16:15 +0000 (07:16 +0000)]
Add arch-utils.h to IA-64 *-tdep.c files.

24 years ago2000-04-25 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 26 Apr 2000 02:53:02 +0000 (02:53 +0000)]
2000-04-25  Michael Snyder  <msnyder@seadog.cygnus.com>

        * blockframe.c: Fix a minor typo in a comment.

24 years agoRecognize store instructions in examine_prologue().
Kevin Buettner [Tue, 25 Apr 2000 23:18:35 +0000 (23:18 +0000)]
Recognize store instructions in examine_prologue().

24 years agoTue Apr 25 13:51:58 2000 glen mccready <gkm@pobox.com>
Glen Mccready [Tue, 25 Apr 2000 17:55:36 +0000 (17:55 +0000)]
Tue Apr 25 13:51:58 2000  glen mccready  <gkm@pobox.com>

* rs6000-nat.c (xcoff_relocate_symtam): Recover from the wrong
patch being applied `Fri Apr  7 13:44:38 2000'.

24 years ago* am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
Alexandre Oliva [Tue, 25 Apr 2000 09:48:40 +0000 (09:48 +0000)]
* am33.igen (inc4 Rn): Use genericAdd so as to modify flags.

24 years agoHandle signal handler frames and call dummy frames.
Kevin Buettner [Tue, 25 Apr 2000 06:36:52 +0000 (06:36 +0000)]
Handle signal handler frames and call dummy frames.

24 years ago2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Mon, 24 Apr 2000 21:32:51 +0000 (21:32 +0000)]
2000-04-24  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdb.base/miscexprs.exp: make sizeof long array test portable.

        * gdb.base/ending-run.exp: After connecting to a remote target,
        but before running, the target will appear to be in a random
        location.  Specify both a file and a line for breakpoints.
        Also, the function that calls main may be called 'init'
        rather than 'start'.

24 years agoInitialise signed_overflow field
Nick Clifton [Mon, 24 Apr 2000 17:32:36 +0000 (17:32 +0000)]
Initialise signed_overflow field

24 years ago * config.bfd: Only disable elf32-hppa vectors, not all of the
Jeff Law [Mon, 24 Apr 2000 08:31:33 +0000 (08:31 +0000)]
    * config.bfd: Only disable elf32-hppa vectors, not all of the
        BSD and OSF configuration support.  Provide (disabled) clauses
        for PA64 support.
        * configure.in: Add clause for PA64 support.
        * configure: Rebuilt.

24 years ago * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
Jeff Law [Mon, 24 Apr 2000 08:26:09 +0000 (08:26 +0000)]
    * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
        (bfd_elf64_hppa_vec): Declare.

24 years ago * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
Jeff Law [Mon, 24 Apr 2000 08:23:47 +0000 (08:23 +0000)]
    * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
        (BFD64_BACKENDS_CFILES): Add elf64-hppa.c
        (elf64-hppa.lo): Add dependencies.
        * Makefile.in: Rebuilt.

24 years ago * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
Jeff Law [Mon, 24 Apr 2000 08:17:58 +0000 (08:17 +0000)]
    * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.

24 years ago * libhppa.h (dis_assemble_16): New function.
Jeff Law [Mon, 24 Apr 2000 08:14:43 +0000 (08:14 +0000)]
    * libhppa.h (dis_assemble_16): New function.
        (pa_arch): Added pa20w element.

24 years ago * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
Jeff Law [Mon, 24 Apr 2000 07:55:09 +0000 (07:55 +0000)]
    * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
        bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and
        bfd_elf64_slurp_reloc_table.

        * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New
        definitions to get external names.
        (elf_write_relocs): Renamed from write_relocs and make global.
        (elf_slurp_reloc_table): Make global.
        (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.

24 years ago * archive.c (hpux_uid_gid_encode): New function.
Jeff Law [Mon, 24 Apr 2000 07:52:50 +0000 (07:52 +0000)]
    * archive.c (hpux_uid_gid_encode): New function.
        (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is
        defined and the ID is greater than 99999.
        (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode
        special uid/gid fields into 32 bit values.

24 years ago * Makefile.in (GDBMI_DIR): New variable.
Eli Zaretskii [Sun, 23 Apr 2000 08:15:49 +0000 (08:15 +0000)]
* Makefile.in (GDBMI_DIR): New variable.
(SET_TEXINPUTS): Add $(GDBMI_DIR).
(SFILES_DOC): Add $(GDBMI_DIR)/gdbmi.texinfo.
(gdbmi.texinfo): New target, for texi2roff.
(gdb.me, gdb.ms, gdb.mm): Depend on gdbmi.texinfo.
(gdb.info, gdb_toc.html): Add "-I ${GDBMI_DIR}".

* gdb.texinfo (Top): Add GDB/MI to the main menu and @include
gdbmi.texinfo.
(Mode Options): Add xref to GDB/MI docs and remove a FIXME
comment.

* gdbmi.texinfo: Lots of changes, to include this document as part
of the GDB manual.

* TODO, NEWS: Update due to inclusion of gdbmi.texinfo in the GDB
manual.

24 years agoFix the date of the last entry.
Eli Zaretskii [Sun, 23 Apr 2000 07:35:44 +0000 (07:35 +0000)]
Fix the date of the last entry.

24 years ago * djunpack.bat: New file.
Eli Zaretskii [Sun, 23 Apr 2000 07:23:05 +0000 (07:23 +0000)]
* djunpack.bat: New file.

* config/djgpp/README: Explain how to unpack using djunpack.bat.

24 years agoMisc assembly/disassembly fixes.
Timothy Wall [Sun, 23 Apr 2000 02:39:13 +0000 (02:39 +0000)]
Misc assembly/disassembly fixes.

24 years agoFix typo in comment.
Christopher Faylor [Sat, 22 Apr 2000 15:54:56 +0000 (15:54 +0000)]
Fix typo in comment.

24 years agoConvert REG_STRUCT_HAS_ADDR to multi-arch. Use REG_STRUCT_HAS_ADDR_P
Andrew Cagney [Sat, 22 Apr 2000 06:44:39 +0000 (06:44 +0000)]
Convert REG_STRUCT_HAS_ADDR to multi-arch.  Use REG_STRUCT_HAS_ADDR_P
in conversion.

24 years ago2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
Jeff Law [Fri, 21 Apr 2000 22:19:43 +0000 (22:19 +0000)]
2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

        * Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.

24 years ago * hppa-dis.c (extract_16): New function.
Jeff Law [Fri, 21 Apr 2000 22:04:29 +0000 (22:04 +0000)]
    * hppa-dis.c (extract_16): New function.
        (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
        new operand types l,y,&,fe,fE,fx.

24 years ago * config.bfd: Add NetBSD/sparc64 support.
Jeff Law [Fri, 21 Apr 2000 21:50:52 +0000 (21:50 +0000)]
    * config.bfd: Add NetBSD/sparc64 support.

24 years ago * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode
Jeff Law [Fri, 21 Apr 2000 21:04:04 +0000 (21:04 +0000)]
    * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode
        forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements).
        New operand types l,y,&,fe,fE,fx added to support above forms.
        (pa_opcodes): Replaced usage of 'x' as source/target for
        floating point double-word loads/stores with 'fx'.

Fr

24 years agoIA-64 ELF support.
Jim Wilson [Fri, 21 Apr 2000 20:22:24 +0000 (20:22 +0000)]
IA-64 ELF support.

24 years ago * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
Richard Henderson [Fri, 21 Apr 2000 17:25:29 +0000 (17:25 +0000)]
    * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
        contents when performing a partial link.
        (bfd_elf_d30v_reloc_21): Likewise.

24 years ago * config.sub (d30v): Add d30v as a basic machine type.
Richard Henderson [Fri, 21 Apr 2000 17:22:35 +0000 (17:22 +0000)]
    * config.sub (d30v): Add d30v as a basic machine type.

24 years ago2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 21 Apr 2000 14:33:33 +0000 (14:33 +0000)]
2000-04-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* gdb-stabs.h (SECT_OFF_MAX): Increase to 40.

24 years ago2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 21 Apr 2000 14:24:45 +0000 (14:24 +0000)]
2000-04-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* win32-nat.c  (handle_load_dll): Don't treat .text as a special
  section anymore.
* somread.c (som_symfile_offsets): Ditto.
* somsolib.c (som_solib_add_solib_objfile): Ditto.

24 years agoMake Jimmy Guo H.P. maintainer.
Andrew Cagney [Fri, 21 Apr 2000 06:19:27 +0000 (06:19 +0000)]
Make Jimmy Guo H.P. maintainer.

24 years agoMake help_all static.
Andrew Cagney [Fri, 21 Apr 2000 05:21:55 +0000 (05:21 +0000)]
Make help_all static.

24 years ago* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
Andrew Cagney [Fri, 21 Apr 2000 04:21:21 +0000 (04:21 +0000)]
* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
(d10v_stack_align): Make static.
* config/d10v/tm-d10v.h (STACK_ALIGN): Delete.

24 years ago* valops.c (hand_function_call): Replace #ifdef STACK_ALIGN with
Andrew Cagney [Fri, 21 Apr 2000 04:17:18 +0000 (04:17 +0000)]
* valops.c (hand_function_call): Replace #ifdef STACK_ALIGN with
run-time test for STACK_ALIGN_P.
* gdbarch.sh: Add support for function and variable predicates.
(STACK_ALIGN): Add.  Implement with predicate - STACK_ALIGN_P.
* gdbarch.h, gdbarch.c: Re-generate.

24 years ago* defs.h, utils.c (free_current_contents): Change parameter to
Andrew Cagney [Fri, 21 Apr 2000 04:10:18 +0000 (04:10 +0000)]
* defs.h, utils.c (free_current_contents): Change parameter to
void*.

From Philippe De Muyter  <phdm@macqel.be>:
* printcmd.c (print_address_symbolic): Call `make_cleanup' with
`(free_current_contents, &x)', not `(free, x)'.
* utils.c (free_current_contents): Do not `free (NULL)'.

* printcmd.c (print_address_symbolic): Cleanup after a failed
call to build_address_symbolic.

24 years ago* wince-stub.c (FREE): New macro.
Christopher Faylor [Fri, 21 Apr 2000 03:04:35 +0000 (03:04 +0000)]
* wince-stub.c (FREE): New macro.
(mempool): Just free any buffer prior to reuse.  Don't bother with realloc.
(flag_single_step): New function.
(skip_message): Detect "helpful" Windows CE messages and skip sending them to
the host.
(wait_for_debug_event): Use skip_message to avoid sending debug messages to the
host.
(dispatch): Prelimary implementation of single step detection.
* wince.c: Rework SH single stepping code to be more consistent with other
wince targets.
(handle_output_debug_string): Allow first chance exceptions to come through
since they seem to be all that we get on some versions of Windows CE.
(check_for_step): New function, conditionally compiled based on target.
(regptr): Delete obsolete function.
(handle_exception): Detect illegal instructions.
(get_child_debug_event): Return success only if event code matches target.
(child_create_inferior): Reflect change to get_child_debug_event arguments.

24 years ago* win32-nat.c (thread_rec): Be more defensive about suspending already
Christopher Faylor [Fri, 21 Apr 2000 02:26:14 +0000 (02:26 +0000)]
* win32-nat.c (thread_rec): Be more defensive about suspending already
suspended threads.
(safe_symbol_file_add_stub): New function.
(safe_symbole_file_add_cleanup): New function.
(safe_symbol_file_add): New function.
(handle_load_dll): Use wrapper to add DLL symbol information to avoid bogus
errors from non-stabs DLLs.
(handle_exception): Add work around for detection of first exception breakpoint
which does not seem to occur on W2K.  Detect more "signals" that can be
effectively passed to the debuggee.  Reorganize to eliminate continue_status
global.
(child_continue): Reorganize to eliminate continue_status global.
(child_wait): Ditto.
(child_resume): Ditto.
(get_child_debug_event): Ditto.  Recognize when an a breakpoint exception
should be ignored.  Change method for signalling when an important event has
occured to the caller.
(child_create_inferior): Use new method for noticing when get_child_debug_event
has found something interesting.

24 years agoFri Apr 7 13:44:38 2000 glen mccready <gkm@pobox.com>
Glen Mccready [Thu, 20 Apr 2000 23:54:45 +0000 (23:54 +0000)]
Fri Apr  7 13:44:38 2000  glen mccready  <gkm@pobox.com>

        * rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace()
          fails due to lack of space.

24 years agoFri Mar 24 12:10:38 2000 glen mccready <gkm@pobox.com>
Glen Mccready [Thu, 20 Apr 2000 23:51:01 +0000 (23:51 +0000)]
Fri Mar 24 12:10:38 2000  glen mccready  <gkm@pobox.com>

        * command.c, command.h (help_all): Add functionality to display
        a complete listing of available commands.

24 years ago* m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
Alexandre Oliva [Thu, 20 Apr 2000 22:15:32 +0000 (22:15 +0000)]
* m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
(disassemble): Use them.

24 years agoChanges to support core files and linux threads.
Scott Bambrough [Thu, 20 Apr 2000 21:13:19 +0000 (21:13 +0000)]
Changes to support core files and linux threads.

2000-04-20  Scott Bambrough <scottb@netwinder.org>

* arm-linux-nat.c (PIDGET, TIDGET): New.
(get_thread_id, GET_THREAD_ID): New.
(fetch_nwfpe_register, store_nwfpe_register): New.
(fetch_register, store_register): New.
(fetch_fpregister, store_fpregister): New.
(fill_gregset, supply_gregset): New.
(fill_fpregset, supply_fpregset): New.
(fetch_fpregs): Modified to use thread id's.
(store_fpregs): Modified to use thread id's and
fetch_nwfpe_register.
(fetch_regs): Modified to use thread id's.
(store_regs): Modified to use thread id's.
(fetch_inferior_registers): Modified to handle single register
fetches.
(store_inferior_registers): Modified to handle single register
stores.
(arm_linux_register_u_addr): Removed.

* configure.tgt: Added gdbserver to configdirs for arm*-*-linux*.

* config/arm/linux.mh
(NATDEPFILES): Removed core-aout.o.  Added core-regset.o.
(LOADLIBES): Define.

* config/arm/nm-linux.h: Include config/nm-linux.h.
(ATTACH_DETACH): Removed.  Defined in config/nm-linux.h.
(REGISTER_U_ADDR): Removed.
(SVR4_SHARED_LIBS): Removed.  Defined in config/nm-linux.h.
(#include "solib.h"): Removed.  Included via config/nm-linux.h.

24 years agoAppend NULL to enum based commands follow-fork and scheduler-locking.
Andrew Cagney [Thu, 20 Apr 2000 11:00:34 +0000 (11:00 +0000)]
Append NULL to enum based commands follow-fork and scheduler-locking.

24 years agoH.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.
Alan Modra [Thu, 20 Apr 2000 05:37:05 +0000 (05:37 +0000)]
H.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.

24 years ago* gdbarch.sh: Make multi-arch variable defaults, defaults for non-
Andrew Cagney [Thu, 20 Apr 2000 04:24:04 +0000 (04:24 +0000)]
* gdbarch.sh: Make multi-arch variable defaults, defaults for non-
multi-arch targets.
(TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS,
SIZEOF_CALL_DUMMY_WORDS): Update.
* inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default
provided by gdbarch.
(CALL_DUMMY_P): Add FIXME. gdbarch should provide default.
* valprint.c (IEEE_FLOAT): Default provided by gdbarch.

24 years ago*** empty log message ***
Jim Blandy [Wed, 19 Apr 2000 23:22:26 +0000 (23:22 +0000)]
*** empty log message ***

24 years agoBring RETURN_VALUE_ON_STACK under gdbarch's control.
Jim Blandy [Wed, 19 Apr 2000 23:22:14 +0000 (23:22 +0000)]
Bring RETURN_VALUE_ON_STACK under gdbarch's control.
* gdbarch.sh (RETURN_VALUE_ON_STACK): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* arch-utils.c (default_return_value_on_stack): New function.
* arch-utils.h (default_return_value_on_stack): New declaration.
* values.c (RETURN_VALUE_ON_STACK): Delete default definition.

24 years agoFor real this time.
Jim Blandy [Wed, 19 Apr 2000 23:19:04 +0000 (23:19 +0000)]
For real this time.

* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
two-dimensional array, instead of faking it with explicit index
arithmetic.

24 years agoI figured out what was going on.
Jim Blandy [Wed, 19 Apr 2000 23:17:18 +0000 (23:17 +0000)]
I figured out what was going on.

Since nobody had made any changes to i386v-nat.c on sourceware since
the repository was started, we were still getting the version from the
vendor branch.  (If you don't understand how the vendor branch works,
treasure your innocence.)  I naively assumed that, to see what changes
had been introduced in version 1.2, one should diff it with 1.1,
as they say in TV Guide, "with hilarious results".

This change simply restores i386v-nat.c to what it used to be before I
started bungling around.  The text of this revision should be
identical to that of revision 1.1.1.3, which was the former head of
the trunk.  (Yes, 1.1.1.3 was the head of the trunk.  As I said,
treasure your innocence.)

24 years agoMy last commit introduced a bunch of mysterious whitespace changes; I
Jim Blandy [Wed, 19 Apr 2000 23:02:56 +0000 (23:02 +0000)]
My last commit introduced a bunch of mysterious whitespace changes; I
don't know where they came from.  They weren't intentional, so this
change reverts them.

24 years ago*** empty log message ***
Jim Blandy [Wed, 19 Apr 2000 22:56:22 +0000 (22:56 +0000)]
*** empty log message ***

24 years ago* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
Jim Blandy [Wed, 19 Apr 2000 22:55:38 +0000 (22:55 +0000)]
* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
two-dimensional array, instead of faking it with explicit index
arithmetic.

24 years ago* minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.
Jim Blandy [Wed, 19 Apr 2000 21:13:09 +0000 (21:13 +0000)]
* minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.
(Thanks to Guy Harris.)

24 years agoProperly regenerate bfd-in2.h.
Timothy Wall [Wed, 19 Apr 2000 13:32:19 +0000 (13:32 +0000)]
Properly regenerate bfd-in2.h.

24 years ago2000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 19 Apr 2000 13:08:49 +0000 (13:08 +0000)]
2000-04-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * xcoffsolib.c (solib_add): Fix call to vmap_symtab().

24 years agoK&R compiler fixes
Alan Modra [Wed, 19 Apr 2000 10:53:01 +0000 (10:53 +0000)]
K&R compiler fixes

24 years ago * TODO: Update.
Peter Schauer [Wed, 19 Apr 2000 10:33:21 +0000 (10:33 +0000)]
* TODO:  Update.

24 years agoDocument -Wreturn-type problem.
Andrew Cagney [Wed, 19 Apr 2000 09:15:32 +0000 (09:15 +0000)]
Document -Wreturn-type problem.

24 years agoFrom Peter Schauer: Add `mt i' alias for `mt info'.
Andrew Cagney [Wed, 19 Apr 2000 07:59:12 +0000 (07:59 +0000)]
From Peter Schauer: Add `mt i' alias for `mt info'.

24 years agoFrom Peter Schauer: Add `info r' alias for `info registers'.
Andrew Cagney [Wed, 19 Apr 2000 07:51:26 +0000 (07:51 +0000)]
From Peter Schauer: Add `info r' alias for `info registers'.

24 years ago* bcache.c (free_bcache): Do not free NULL.
Andrew Cagney [Wed, 19 Apr 2000 07:08:35 +0000 (07:08 +0000)]
* bcache.c (free_bcache): Do not free NULL.

24 years ago* TODO: Cleanup.
Andrew Cagney [Wed, 19 Apr 2000 07:01:08 +0000 (07:01 +0000)]
* TODO: Cleanup.
* NEWS: Update GDB version.  Duplicate paragraph explaining obsolete.

24 years agoPass MD5PROG to sub-makes when building .tar.bz2 archive.
Andrew Cagney [Wed, 19 Apr 2000 06:00:03 +0000 (06:00 +0000)]
Pass MD5PROG to sub-makes when building .tar.bz2 archive.

24 years agoDocument real fix to problem of tui/Makefile not being deleted.
Andrew Cagney [Wed, 19 Apr 2000 03:37:07 +0000 (03:37 +0000)]
Document real fix to problem of tui/Makefile not being deleted.

24 years agoRemove generated file.
Andrew Cagney [Wed, 19 Apr 2000 01:59:39 +0000 (01:59 +0000)]
Remove generated file.

24 years ago*** empty log message ***
Jim Blandy [Tue, 18 Apr 2000 19:10:41 +0000 (19:10 +0000)]
*** empty log message ***

24 years agoAdd full set of cleanup rules.
Andrew Cagney [Tue, 18 Apr 2000 08:04:59 +0000 (08:04 +0000)]
Add full set of cleanup rules.

24 years agoDo not delete testcmds.
Andrew Cagney [Tue, 18 Apr 2000 08:03:40 +0000 (08:03 +0000)]
Do not delete testcmds.

24 years agoAdd support for SIGILL (reserved-instruction-exception).
Andrew Cagney [Tue, 18 Apr 2000 07:55:35 +0000 (07:55 +0000)]
Add support for SIGILL (reserved-instruction-exception).

24 years agoBfd support for generating IA-64 EFI binaries.
Jim Wilson [Tue, 18 Apr 2000 04:03:16 +0000 (04:03 +0000)]
Bfd support for generating IA-64 EFI binaries.
* Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
(BFD64_BACKENDS_CFILES): Mention coff-ia64.c
(coff-ia64.lo): Add dependency.
* Makefile.in: Regenerate.
* coff-ia64.c: New file.
* efi-app-ia32.c: Ditto.
* efi-app-ia64.c: Ditto.
...

24 years agoClean up load page support for tic54x.
Timothy Wall [Tue, 18 Apr 2000 02:21:27 +0000 (02:21 +0000)]
Clean up load page support for tic54x.

24 years agoInitial patches for IA-64 EFI (64-bit PE) support.
Jim Wilson [Mon, 17 Apr 2000 23:45:22 +0000 (23:45 +0000)]
Initial patches for IA-64 EFI (64-bit PE) support.
* pe.h (PEP64AOUTHDR): New header for PE+.
(PEP64AOUTSZ): New macro.
(IMAGE_SUBSYSTEM_UNKNOWN): New macro.
(IMAGE_SUBSYSTEM_NATIVE): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto.
(IMAGE_SUBSYSTEM_POSIX_CUI): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto.
(IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto.
(IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto.
(IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto.
* internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined
already.
* ia64.h: New file.

24 years ago * ChangeLog-gdbtk: Renamed to ChangeLog
Jonathan Larmour [Mon, 17 Apr 2000 20:20:59 +0000 (20:20 +0000)]
    * ChangeLog-gdbtk: Renamed to ChangeLog
        * ChangeLog: New file
        * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c, gdbtk-varobj.c,
        gdbtk-wrapper.h, gdbtk-wrapper.c, gdbtk.h, gdbtk.c: No need for
        changelog-default-name hint for Emacs now

24 years ago * ChangeLog-gdbtk: Renamed to ChangeLog
Jonathan Larmour [Mon, 17 Apr 2000 20:20:20 +0000 (20:20 +0000)]
    * ChangeLog-gdbtk: Renamed to ChangeLog
        * ChangeLog: New file
        * README.GDBTK: No need for changelog-default-name hint for Emacs now

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 16:14:37 +0000 (16:14 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdb.base/help.exp: Update output for add-symbol-file command.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 16:12:39 +0000 (16:12 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdb.texinfo (Files): Update description of add-symbol-file
        command.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 16:09:04 +0000 (16:09 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* symfile.h (struct section_addr_info ): Remove fields for special
  treatment of .text, .data and .bss sections.

* solib.c (symbol_add_stub): The special field text_addr is not
  available anymore. Search for the .text field the hard way.

* symfile.c (build_section_addr_info_from_section_table): Don't
  fill in {text, data, bss}_addr any more.
(default_symfile_offsets): Don't use {text, data, bss}_addr fields
  to fill in section_offsets for objfile.
(syms_from_objfile): Don't deal with {text, data, bss}_addr as a
  special case anymore.
        (add_symbol_file_command): Ditto.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 15:59:56 +0000 (15:59 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

symfile.c: (symbol_file_command): Remove support for rombug, to
  simplify code.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 15:47:17 +0000 (15:47 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* symfile.c (add_symbol_file_command): Rewrite the arguments
  processing part. Simplify syntax of command. Remove support for
  rombug.
(_initialize_symfile): Update help message for add-symbol-file
  command.

24 years agoFixed incorrect date on the previous entry.
Eli Zaretskii [Mon, 17 Apr 2000 10:56:17 +0000 (10:56 +0000)]
Fixed incorrect date on the previous entry.

24 years ago * gdb.texinfo (Porting GDB): Don't use @value in the node name, it
Eli Zaretskii [Mon, 17 Apr 2000 10:46:50 +0000 (10:46 +0000)]
* gdb.texinfo (Porting GDB): Don't use @value in the node name, it
prevents the build (and is generally a Bad Idea).

24 years ago * gdb.texinfo (Protocol): Prevent makeinfo from complaining about
Eli Zaretskii [Mon, 17 Apr 2000 10:42:13 +0000 (10:42 +0000)]
* gdb.texinfo (Protocol): Prevent makeinfo from complaining about
a comma inside @var.
(Command Files): Index markup changes from Dmitry Sivachenko
<dima@Chg.RU>.

24 years agoFix typo.
Alan Modra [Mon, 17 Apr 2000 07:54:12 +0000 (07:54 +0000)]
Fix typo.

24 years agoOnly dump IEEE_FLOAT when defined.
Andrew Cagney [Mon, 17 Apr 2000 05:59:42 +0000 (05:59 +0000)]
Only dump IEEE_FLOAT when defined.

24 years ago* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
Andrew Cagney [Mon, 17 Apr 2000 02:27:37 +0000 (02:27 +0000)]
* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
(MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
(BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
ADDRESS_TO_POINTER): Delete default definition.  Handled by
gdbarch.

* gdbarch.sh: Make multi-arch defaults, defaults for non-
multi-arch targets.
(REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
Provide default/legacy implementation.
(REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
* gdbarch.h, gdbarch.c: Re-generate.

24 years ago*** empty log message ***
Jim Blandy [Sun, 16 Apr 2000 16:04:59 +0000 (16:04 +0000)]
*** empty log message ***

24 years ago* findvar.c (store_typed_address, extract_typed_address): Fix
Jim Blandy [Sun, 16 Apr 2000 16:04:53 +0000 (16:04 +0000)]
* findvar.c (store_typed_address, extract_typed_address): Fix
function names in error messages.

24 years ago * Makefile.in (LN_S): Define.
Eli Zaretskii [Sun, 16 Apr 2000 08:47:41 +0000 (08:47 +0000)]
* Makefile.in (LN_S): Define.
(gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't
invoke "ln -s" unless it is known to work.

* configure.in (AC_PROG_LN_S): Add.

24 years ago * config/djgpp/config.sed: Fix the lines which edit clean: and
Eli Zaretskii [Sun, 16 Apr 2000 08:16:03 +0000 (08:16 +0000)]
* config/djgpp/config.sed: Fix the lines which edit clean: and
        uninstall-info: targets.

24 years ago2000-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 14 Apr 2000 19:32:44 +0000 (19:32 +0000)]
2000-04-14  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.

24 years agoBring IEEE_FLOAT under gdbarch's control.
Jim Blandy [Fri, 14 Apr 2000 19:14:19 +0000 (19:14 +0000)]
Bring IEEE_FLOAT under gdbarch's control.
* gdbarch.sh (IEEE_FLOAT): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* valprint.c (IEEE_FLOAT): Provide a default #definition for this.
(print_floating): Use IEEE_FLOAT as if it were an expression; use
the code specific to IEEE-format numbers whenever the value of
IEEE_FLOAT is non-zero.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/i386/tm-i386.h,
config/i960/tm-i960.h, config/m88k/tm-m88k.h,
config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/delta/tm-delta.h,
config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
IEEE_FLOAT, make sure they give it the value (1).

24 years ago2000-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 14 Apr 2000 19:14:15 +0000 (19:14 +0000)]
2000-04-14  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_NETBSD): Defined.
(ELFOSABI_HURD): Likewise.
(ELFOSABI_SOLARIS): Likewise.
(ELFOSABI_MONTEREY): Likewise.
(ELFOSABI_IRIX): Likewise.
(ELFOSABI_FREEBSD): Likewise.
(ELFOSABI_TRUE64): Likewise.

24 years ago*** empty log message ***
Jim Blandy [Fri, 14 Apr 2000 18:46:19 +0000 (18:46 +0000)]
*** empty log message ***

24 years ago* gdbint.texinfo (Pointers Are Not Always Addresses): New manual
Jim Blandy [Fri, 14 Apr 2000 18:46:17 +0000 (18:46 +0000)]
* gdbint.texinfo (Pointers Are Not Always Addresses): New manual
section.
(Target Conditionals): Document ADDRESS_TO_POINTER,
POINTER_TO_ADDRESS.

24 years ago* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
Jim Blandy [Fri, 14 Apr 2000 18:43:41 +0000 (18:43 +0000)]
* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
functions which architectures can redefine, defaulting to
generic_pointer_to_address and generic_address_to_pointer.
* findvar.c (extract_typed_address, store_typed_address,
generic_pointer_to_address, generic_address_to_pointer): New
functions.
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
definitions.
(extract_address, store_address): Doc fixes.
* values.c (value_as_pointer): Doc fix.
(value_from_pointer): New function.
* defs.h (extract_typed_address, store_typed_address): New
declarations.
* inferior.h (generic_address_to_pointer,
generic_pointer_to_address): New declarations.
* value.h (value_from_pointer): New declaration.

* ax-gdb.c (const_var_ref): Use value_from_pointer, not
value_from_longest.
* blockframe.c (generic_push_dummy_frame): Use read_pc and
read_sp, not read_register.
* c-valprint.c (c_val_print): Use extract_typed_address instead of
extract_address to extract vtable entries and references.
* cp-valprint.c (cp_print_value_fields): Use value_from_pointer
instead of value_from_longest to extract the vtable's address.
* eval.c (evaluate_subexp_standard): Use value_from_pointer
instead of value_from_longest to compute `this', and for doing
pointer-to-member dereferencing.
* findvar.c (read_register): Use extract_unsigned_integer, not
extract_address.
(read_var_value): Use store_typed_address instead of store_address
for building label values.
(locate_var_value): Use value_from_pointer instead of
value_from_longest.
* hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
instead of value_from_longest, to build arguments to __d_shl_get.
* printcmd.c (set_next_address): Use value_from_pointer, not
value_from_longest.
(x_command): Use value_from_pointer, not value_from_longest.
* tracepoint.c (set_traceframe_context): Use value_from_pointer,
not value_from_longest.
* valarith.c (value_add, value_sub): Use value_from_pointer, not
value_from_longest.
* valops.c (find_function_in_inferior, value_coerce_array,
value_coerce_function, value_addr, hand_function_call): Same.
* value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
* values.c (unpack_long): Use extract_typed_address to produce
addresses from pointers and references, not extract_address.
(value_from_longest): Use store_typed_address instead of
store_address to produce pointer and reference values.

24 years ago * console.itb (Console::_complete): Dequoted first argument to
Tom Tromey [Fri, 14 Apr 2000 14:45:37 +0000 (14:45 +0000)]
* console.itb (Console::_complete): Dequoted first argument to
switch.  Window name is `$_twin', not `_twin'.

24 years ago2000-04-13 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Fri, 14 Apr 2000 10:13:50 +0000 (10:13 +0000)]
2000-04-13  Mark Kettenis  <kettenis@gnu.org>

* acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
HAVE_PSADDR_T): Add them here instead of in config.in.

* acconfig.h (PRFPREGSET_T_BROKEN): New define.
* configure.in: Add check for broken prfpregset_t type.
* lin-thread.c (gdb_prfpregset): New typedef, depends on
definition of PRFPREGSET_T_BROKEN.
(ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
p_td_thr_setfpregs, thread_db_fetch_registers,
thread_db_store_registers): Use gdb_prfpregset_t instead of
prfpregset_t.
* config.in: Regenerated.
* configure: Regenerated.