OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago2000-12-07 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 7 Dec 2000 19:31:48 +0000 (19:31 +0000)]
2000-12-07  Kazu Hirata  <kazu@hxi.com>

* elf32-ppc.c: Fix formatting.
* elf64-x86-64.c: Likewise.

23 years ago2000-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 7 Dec 2000 16:40:44 +0000 (16:40 +0000)]
2000-12-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields
        {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM.
* sh-tdep.c (sh_sh3e_register_virtual_type,
  sh_sh4_register_virtual_type, sh_do_registers_info,
  sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size,
  sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
  sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
  sh_store_pseudo_register, sh_do_pseudo_register): Ditto.

* sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the
        disassembly print function.
(_initialize_sh_tdep): Initialize tm_print_insn using the function
  pointer.

23 years agoFrom Richard Henderson <rth@twiddle.net>:
Mark Kettenis [Thu, 7 Dec 2000 10:50:50 +0000 (10:50 +0000)]
From Richard Henderson <rth@twiddle.net>:
* alpha-nat.c (supply_gregset, fill_gregset): Use gdb_gregset_t.
(supply_fpregset, fill_fpregset): Use gdb_fpregset_t.

23 years ago* getopt.h obstack.h: Standarize copyright statement.
DJ Delorie [Thu, 7 Dec 2000 02:06:09 +0000 (02:06 +0000)]
* getopt.h obstack.h: Standarize copyright statement.

23 years ago2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Thu, 7 Dec 2000 01:05:04 +0000 (01:05 +0000)]
2000-12-06  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
BFDs containing no sections or empty .text, .data or .bss sections
to be merged, regardless of their flags.

23 years ago2000-12-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 6 Dec 2000 23:53:03 +0000 (23:53 +0000)]
2000-12-06  Fernando Nasser  <fnasser@redhat.com>

* cli/cli-decode.c (add_abbrev_cmd): Reinstate. Add comment saying
that is not currently used.

23 years ago2000-12-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 6 Dec 2000 23:27:41 +0000 (23:27 +0000)]
2000-12-06  Fernando Nasser  <fnasser@redhat.com>

* cli/cli-decode.c (lookup_cmd): Change disabled code into comment.

23 years ago2000-12-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 6 Dec 2000 23:12:12 +0000 (23:12 +0000)]
2000-12-06  Fernando Nasser  <fnasser@redhat.com>

* cli/cli-decode.c (lookup_cmd): Remove old stale copy of this routine
which was not being used for quite some time.

23 years ago2000-12-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 6 Dec 2000 18:59:48 +0000 (18:59 +0000)]
2000-12-06  Kazu Hirata  <kazu@hxi.com>

* elf32-m32r.c: Fix formatting.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-pj.c: Likewise.
* elf32-ppc.c: Likewise.

23 years agoBacked out erroneously-committed hunk
Tom Tromey [Wed, 6 Dec 2000 18:30:01 +0000 (18:30 +0000)]
Backed out erroneously-committed hunk

23 years ago * targetselection.itb (TargetSelection::build_win): Add option to
Tom Tromey [Wed, 6 Dec 2000 18:27:15 +0000 (18:27 +0000)]
* targetselection.itb (TargetSelection::build_win): Add option to
start xterm.
* interface.tcl (run_executable): Call tty::create if requested.
* tty.tcl: New file.

23 years ago2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Tue, 5 Dec 2000 23:57:36 +0000 (23:57 +0000)]
2000-12-05  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
        * gdb.base/miscexprs.exp: Ditto.
        * gdb.base/pointers.exp:  Ditto.
        * gdb.c++/derivation.exp: Ditto.
        * gdb.c++/local.exp:      Ditto.
        * gdb.c++/namespace.exp:  Ditto.
        * gdb.c++/overload.exp:   Ditto.
        * gdb.c++/ref-types.exp:  Ditto.

23 years ago2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Tue, 5 Dec 2000 23:14:40 +0000 (23:14 +0000)]
2000-12-05  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/constvars.exp: Test result of "up" command.
        * gdb.base/miscexprs.exp: Ditto.
        * gdb.base/pointers.exp:  Ditto.
        * gdb.base/scope.exp:     Ditto.
        * gdb.c++/derivation.exp: Ditto.
        * gdb.c++/local.exp:      Ditto.
        * gdb.c++/namespace.exp:  Ditto.
        * gdb.c++/overload.exp:   Ditto.
        * gdb.c++/ref-types.exp:  Ditto.

23 years ago* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
DJ Delorie [Tue, 5 Dec 2000 19:08:13 +0000 (19:08 +0000)]
* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
name before allocating the dyn_string.

23 years ago* gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
Mark Kettenis [Tue, 5 Dec 2000 18:28:25 +0000 (18:28 +0000)]
* gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
* symfile.h (MAX_SECTIONS): Increase to 64.

23 years ago2000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 5 Dec 2000 17:50:28 +0000 (17:50 +0000)]
2000-12-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of
        DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used
        anywhere.
        * sh-tdep.c (sh_gdbarch_init): Don't initialize
        DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM.

23 years ago* cp-demangle.c: s/new_abi/v3/.
DJ Delorie [Tue, 5 Dec 2000 16:51:29 +0000 (16:51 +0000)]
* cp-demangle.c: s/new_abi/v3/.
* cplus-dem.c: Likewise.
(current_demangling_style): Now auto_demangling.
(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
(main): Use standard symbol chars for auto_demangling.

23 years ago* demangle.h: Change "new_abi" to "v3" everywhere.
DJ Delorie [Tue, 5 Dec 2000 16:49:47 +0000 (16:49 +0000)]
* demangle.h: Change "new_abi" to "v3" everywhere.

23 years ago2000-12-05 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 5 Dec 2000 13:20:10 +0000 (13:20 +0000)]
2000-12-05  Kazu Hirata  <kazu@hxi.com>

* elf32-fr30.c: Fix formatting.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-i860.c: Likewise.
* elf32-i960.c: Likewise.

23 years ago2000-12-04 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 5 Dec 2000 03:15:31 +0000 (03:15 +0000)]
2000-12-04  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * utils.c (internal_verror): Fix typo in error msg.

23 years ago2000-12-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 5 Dec 2000 00:56:44 +0000 (00:56 +0000)]
2000-12-05  Ben Elliston  <bje@redhat.com>

* Make-common.in (cgen-defs): New target.
(cgen-decode): Pass $(EXTRAFILES).

23 years ago2000-12-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 5 Dec 2000 00:46:04 +0000 (00:46 +0000)]
2000-12-05  Ben Elliston  <bje@redhat.com>

* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-outfile-suffix options.

23 years ago* gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM,
Andrew Cagney [Tue, 5 Dec 2000 00:44:34 +0000 (00:44 +0000)]
* gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM,
DWARF2_REG_TO_REGNUM): Document.

23 years ago* Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.
Mark Kettenis [Mon, 4 Dec 2000 23:27:59 +0000 (23:27 +0000)]
* Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.

23 years ago * console.ith (_set_wrap): Declare.
Tom Tromey [Mon, 4 Dec 2000 19:29:01 +0000 (19:29 +0000)]
* console.ith (_set_wrap): Declare.
(_update_option): Likewise.
* console.itb (Console::constructor): Install preference hooks
(commented out pending a bug fix).
(Console::destructor): Remove preference hooks.
(Console::_set_wrap): New method.
(Console::_update_option): New method.
(Console::_build_win): Use _set_wrap.

23 years agoFix dwarf2read.c related crash in which section index was not being
Kevin Buettner [Mon, 4 Dec 2000 15:55:09 +0000 (15:55 +0000)]
Fix dwarf2read.c related crash in which section index was not being
initialized properly.

23 years ago2000-12-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 4 Dec 2000 04:05:45 +0000 (04:05 +0000)]
2000-12-04  Ben Elliston  <bje@redhat.com>

* cgen-ops.h (SUBWORDSIQI): Mask off top bits.
(SUBWORDSIUQI): Likewise.
(SUBWORDDIHI): Likewise.
(SUBWORDDIQI): New function.

23 years agoMultiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
Andrew Cagney [Mon, 4 Dec 2000 04:01:16 +0000 (04:01 +0000)]
Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.

23 years ago2000-12-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 4 Dec 2000 00:57:57 +0000 (00:57 +0000)]
2000-12-04  Ben Elliston  <bje@redhat.com>

* cgen-trace.c (disassemble_insn): Remove unused declaration.
* cgen-scache.c (scache_option_handler): Remove unused local var.

23 years agoSuppress support of DEMON swi's in XScale mode.
Nick Clifton [Sun, 3 Dec 2000 23:28:46 +0000 (23:28 +0000)]
Suppress support of DEMON swi's in XScale mode.

23 years agoAdd MIPS64 instructions and tests
Nick Clifton [Sun, 3 Dec 2000 22:10:02 +0000 (22:10 +0000)]
Add MIPS64 instructions and tests

23 years agoRemove all uses of M1.
Nick Clifton [Sun, 3 Dec 2000 21:58:27 +0000 (21:58 +0000)]
Remove all uses of M1.

23 years agoUse the WR_HILO, RD_HILO, MOD_HILO, and MOD_LO macros.
Nick Clifton [Sun, 3 Dec 2000 21:49:06 +0000 (21:49 +0000)]
Use the WR_HILO, RD_HILO, MOD_HILO, and MOD_LO macros.

23 years agoFinish off adding MIPS32 instructions.
Nick Clifton [Sun, 3 Dec 2000 21:34:08 +0000 (21:34 +0000)]
Finish off adding MIPS32 instructions.

23 years ago2000-12-03 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sun, 3 Dec 2000 20:44:04 +0000 (20:44 +0000)]
2000-12-03  Kazu Hirata  <kazu@hxi.com>

* elf32-arm.h: Fix formatting.
* elf32-avr.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-d10v.c: Likewise.
* elf32-d30v.c: Likewise.
* elf-hppa.h: Likewise.
* elf-m10200.c: Likewise.
* elf-m10300.c: Likewise.

23 years ago2000-12-03 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 3 Dec 2000 04:23:54 +0000 (04:23 +0000)]
2000-12-03  Ben Elliston  <bje@redhat.com>

* sim-profile.c (profile_option_handler): Remove unused prof_nr.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Stephane Carrez [Sat, 2 Dec 2000 17:13:44 +0000 (17:13 +0000)]
2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove elf_flags, cleanup.
(gdbarch_tdep): Likewise.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Stephane Carrez [Sat, 2 Dec 2000 17:07:04 +0000 (17:07 +0000)]
2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* m68hc11-tdep.c (SOFT_D1_REGNUM): Soft registers start at 14.
(m68hc11_register_names): Add null for register 13.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Stephane Carrez [Sat, 2 Dec 2000 16:55:37 +0000 (16:55 +0000)]
2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* m68hc11-tdep.c (m68hc11_frame_args_address): Fix args address
computation.
(m68hc11_frame_init_saved_regs): Frame pointer is saved only if
the symbol exist.
(m68hc11_analyze_instruction): New function.
(m6811_prologue, m6812_prologue): New prologue description tables.
(m68hc11_guess_from_prologue): Use the above.
(m68hc11_gdbarch_init): Setup gdbarch_tdep for the prologue
descriptions.

23 years agoAdd check for vfork() to configure.in. Cleanup uses.
Andrew Cagney [Sat, 2 Dec 2000 15:40:56 +0000 (15:40 +0000)]
Add check for vfork() to configure.in.  Cleanup uses.

23 years ago* ser-unix.c (wait_for): Initialize the FD_SET before every select
Andrew Cagney [Sat, 2 Dec 2000 14:56:20 +0000 (14:56 +0000)]
* ser-unix.c (wait_for): Initialize the FD_SET before every select
call.
(ser_unix_wait_for): Ditto.

23 years agoReally check-in:
Andrew Cagney [Sat, 2 Dec 2000 14:08:22 +0000 (14:08 +0000)]
Really check-in:
* Makefile.in (varobj.o): Delete special .c.o rule supressing
-Werror flag.

23 years ago* m32r-rom.c (m32r_load_section): Update to match
Andrew Cagney [Sat, 2 Dec 2000 13:43:26 +0000 (13:43 +0000)]
* m32r-rom.c (m32r_load_section): Update to match
bfd_map_over_sections's ``func'' arg.

23 years ago* mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
Andrew Cagney [Sat, 2 Dec 2000 13:25:26 +0000 (13:25 +0000)]
* mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
``fmt''.  Make ``offset'' a CORE_ADDR.
(print_unpack): Delete.
(extended_offset): Construct and return a CORE_ADDR.
(fetch_mips_16): Return an int.  Don't assume short is 16 bits.
(unpack_mips16): Rewrite.  Add ``extension'' parameter instead of
incorrectly guessing if the instruction had an extension.
(map16): Delete array.
(mips16_op): Delete macro.
(extended_mips16_next_pc): Rewrite of old mips16_next_pc function.
When an extended instruction do a recursive call.
(mips16_next_pc): Call extended_mips16_next_pc.
(mips_next_pc): Cleanup.

23 years ago* ser-e7kpc.c (e7000pc_setstopbits): New function.
Andrew Cagney [Sat, 2 Dec 2000 11:37:15 +0000 (11:37 +0000)]
* ser-e7kpc.c (e7000pc_setstopbits): New function.
(e7000pc_ops): Add e7000pc_setstopbits.

* remote-e7000.c (e7000_detach, e7000_resume,
e7000_xfer_inferior_memory, e7000_files_info, e7000_files_info,
e7000_insert_breakpoint, e7000_remove_breakpoint, e7000_kill):
Update function signature to match target vector.

* h8300-tdep.c (h8300_command, h8300h_command, h8300s_command):
h8500-tdep.c (small_command, big_command, medium_command,
compact_command): Update function signature to match add_cmd.

23 years agoAdd MIPS SB1 machine
Nick Clifton [Sat, 2 Dec 2000 01:10:33 +0000 (01:10 +0000)]
Add MIPS SB1 machine

23 years agoAdd MIPS V and MIPS 64 machine numbers
Nick Clifton [Sat, 2 Dec 2000 00:55:22 +0000 (00:55 +0000)]
Add MIPS V and MIPS 64 machine numbers

23 years agoAdd MIPS32 as a seperate MIPS architecture
Nick Clifton [Fri, 1 Dec 2000 21:35:38 +0000 (21:35 +0000)]
Add MIPS32 as a seperate MIPS architecture

23 years agoAdd initialiser for membership field
Nick Clifton [Fri, 1 Dec 2000 20:06:36 +0000 (20:06 +0000)]
Add initialiser for membership field

23 years ago2000-12-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 1 Dec 2000 20:05:48 +0000 (20:05 +0000)]
2000-12-01  Fernando Nasser  <fnasser@redhat.com>

* p-exp.y: Define strncasecmp as strnicmp for MSVC.
(yylex): Use strncasecmp, not strnicmp.

23 years agoImprove MIPS32 support
Nick Clifton [Fri, 1 Dec 2000 20:05:32 +0000 (20:05 +0000)]
Improve MIPS32 support

23 years agoUpdate RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:37:16 +0000 (18:37 +0000)]
Update RTEMS targets

23 years agoReally delete elf64-ia64.c this time.
Nick Clifton [Fri, 1 Dec 2000 18:15:22 +0000 (18:15 +0000)]
Really delete elf64-ia64.c this time.

23 years ago2000-12-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 1 Dec 2000 18:01:38 +0000 (18:01 +0000)]
2000-12-01  Fernando Nasser  <fnasser@redhat.com>

        * cli/cli-decode.c: New file. Handle lists of commands, their decoding
        and documentation.
        (add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
        add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
        add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
        add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
        help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
        undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
        lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
        Moved here from command.c.
        (add_info, add_info_alias, add_com, add_com_alias): Moved here from
        top.c.
        * cli/cli-decode.h: Definitions/declarations for the above.
        * cli/cli-cmds.c: New file.  GDB CLI commands.
        (error_no_arg, info_command, show_command, help_command, show_version,
        quit_command, pwd_command, cd_command, echo_command, shell_escape,
        make_command, show_user, set_debug, show_debug, init_cmd_lists):
        Moved here from top.c.
        (apropos_command): Moved here from command.c.
        (complete_command, source_command): Moved here (part) from top.c.
        (is_complete_command): New function. Checks if a command is the
        "complete" command.
        (init_cli_cmds): New function. Add commands to the CLI (from code
        previously in top.c.
        * cli/cli-cmds.h: Definitions/declarations for the above.
        * cli/cli-script.c: New file. GDB CLI command scripting.
        (build_command_line, get_command_line, print_command_lines,
        print_command_line, execute_user_command, execute_control_command,
        while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
        insert_args, realloc_body_list, read_next_line,
        recurse_read_control_structure, read_command_lines, free_command_lines,
        do_free_command_lines_cleanup, make_cleanup_free_command_lines,
        validate_comname, user_defined_command, define_command,
        document_command, source_cleanup_lines, do_fclose_cleanup,
        show_user_1): Moved here from top.c.
        (script_from_file): New function. Implements execution of a script
        contained in a file (part of code for the source_command() that used
        to exist in top.c).
        * cli/cli-script.h: Definitions/declarations for the above.
        * cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
        (parse_auto_binary_operation, parse_binary_operation,
        do_setshow_command, cmd_show_list): Moved here from command.c.
        * cli/cli-setshow.h: Definitions/declarations for the above.
        * top.c: Remove all CLI code, except the command loop.
        (gdb_init): Call init_cli_cmds().
        * command.c: Remove obsolete file.
        * command.h: Mark as DEPRECATED.
        * gdbcmd.h: Ditto.
        * call-cmds.h: Ditto.
        * Makefile.in (SFILES): Remove command.c.
        (COMMON_OBS): Remove command.o.
        (command.o): Remove obsolete target.
        (cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
        Refer to CLI header files.
        (cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
        (SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
        SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
        SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
        subdirectory.
        * configure.in (enable_gdbcli): New option. Include the CLI in the
        executable (cannot be disabled yet).
        (CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
        CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
        the corresponding SUBDIR_CLI_* macros if CLI requested.
        * configure: Regenerate.

23 years ago2000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 1 Dec 2000 10:40:10 +0000 (10:40 +0000)]
2000-10-27  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (yylex): avoid problem with symbol name
starting as a operator name.

23 years ago * srctextwin.ith (enable_disable_at_line): Declare.
Tom Tromey [Fri, 1 Dec 2000 06:37:57 +0000 (06:37 +0000)]
* srctextwin.ith (enable_disable_at_line): Declare.
* srctextwin.itb (SrcTextWin::build_popups): Create popup for
disabled breakpoint.  Add "disable" to breakpoint menu.
(enable_disable_at_line): New method.
(SrcTextWin::do_bp): Don't remove the tag we are adding -- remove
the "opposite" tag.

23 years ago2000-11-30 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 1 Dec 2000 00:43:47 +0000 (00:43 +0000)]
2000-11-30  Fernando Nasser  <fnasser@redhat.com>

        * linespec.h: New file. Declarations for linespec.c.
        * linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c,
        symtab.c, tracepoint.c: Include the above.
        * completer.c: New file. Line completion stuff for GDB.
        (get_gdb_completer_word_break_characters,
        get_gdb_completer_quote_characters): New functions. Accessors for
        useful completer internal data.
        (filename_completer, line_completion_function, skip_quoted): Moved
        here from top.c.
        * completer.h: New file. Declarations for the above.
        * linespec.c (decode_line_1): Use
        get_gdb_completer_word_break_characters and
        get_gdb_completer_quote_characters.
        * top.c: Include completer.h.
        (filename_completer, line_completion_function, skip_quoted):
        Moved to completer.c.
        * corefile.c, exec.c, source.c, symfile.c, linespec.c: Include
        completer.h.
        * Makefile.in (SFILES): Add completer.c.
        (COMMON_OBS): Add completer.o.
        (completer.o): New target.
        (linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o,
        symtab.o, tracepoint.o): Add linespec.h to dependencies list.
        (corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h
        to dependencies list.

23 years agoReverted erroneous checkin. Sorry about that.
Tom Tromey [Thu, 30 Nov 2000 22:49:46 +0000 (22:49 +0000)]
Reverted erroneous checkin.  Sorry about that.

23 years ago * prefs.tcl (pref_save): Put version number into file. Added
Tom Tromey [Thu, 30 Nov 2000 22:37:29 +0000 (22:37 +0000)]
* prefs.tcl (pref_save): Put version number into file.  Added
`session' to list of top-level keys.  Allow keys with many `/'s.
(pref_read): Recognize version number.
(escape_value): Generate URL-style encoding.
(unescape_value): Added `version' argument.  Handle URL decoding.

23 years agoAdd support for x86_64-*-linux-gnu* target
Nick Clifton [Thu, 30 Nov 2000 19:16:54 +0000 (19:16 +0000)]
Add support for x86_64-*-linux-gnu* target

23 years agoAdd x86-64 support files.
Nick Clifton [Thu, 30 Nov 2000 19:05:18 +0000 (19:05 +0000)]
Add x86-64 support files.

23 years ago2000-11-30 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 30 Nov 2000 08:04:42 +0000 (08:04 +0000)]
2000-11-30  Kazu Hirata  <kazu@hxi.com>

* xcofflink.c: Fix formatting.

23 years agoRegenerate gdbarch.c.
Andrew Cagney [Thu, 30 Nov 2000 03:30:52 +0000 (03:30 +0000)]
Regenerate gdbarch.c.

23 years ago * gdbtk-cmds.c (call_wrapper): Don't reset result if wrapped
Tom Tromey [Thu, 30 Nov 2000 02:56:29 +0000 (02:56 +0000)]
* gdbtk-cmds.c (call_wrapper): Don't reset result if wrapped
command returned error.

23 years ago * gdbtk-cmds.c (gdb_clear_file): Use Tcl_WrongNumArgs.
Tom Tromey [Thu, 30 Nov 2000 02:52:45 +0000 (02:52 +0000)]
* gdbtk-cmds.c (gdb_clear_file): Use Tcl_WrongNumArgs.
(gdb_confirm_quit): Likewise.
(gdb_force_quit): Likewise.
(gdb_eval): Likewise.
(gdb_immediate_command): Likewise.
(gdb_get_vars_command): Likewise.
(gdb_get_line_command): Likewise.
(gdb_get_file_command): Likewise.
(gdb_get_function_command): Likewise.
(gdb_cmd): Likewise.  Also, don't allow more than 2 arguments.
(gdb_listfiles): Corrected usage of Tcl_WrongNumArgs.
(gdb_listfuncs): Use Tcl_WrongNumArgs.  Return error.
(gdb_fetch_registers): Likewise.
(gdb_tracepoint_exists_command): Use Tcl_WrongNumArgs.
(gdb_get_tracepoint_info): Likewise.
(gdb_get_trace_frame_num): Likewise.
(gdb_actions_command): Likewise.
(gdb_disassemble): Likewise.  Also, return error.
(gdb_get_breakpoint_list): Likewise.
(gdb_path_conv): Likewise.
(gdb_load_disassembly): Use Tcl_WrongNumArgs.
(gdb_loc): Likewise.
(gdb_set_bp): Likewise.
(gdb_set_bp_addr): Likewise.
(gdb_get_breakpoint_info): Likewise.

23 years agoAdd support for ARM's v5TE architecture and Intel's XScale extenstions
Nick Clifton [Thu, 30 Nov 2000 01:55:12 +0000 (01:55 +0000)]
Add support for ARM's v5TE architecture and Intel's XScale extenstions

23 years agoAdd GNU Free Documentation License
Nick Clifton [Thu, 30 Nov 2000 01:54:16 +0000 (01:54 +0000)]
Add GNU Free Documentation License

23 years agoAdded "Floating Point" as a display format option for registers
Larry Smith [Wed, 29 Nov 2000 22:06:49 +0000 (22:06 +0000)]
Added "Floating Point" as a display format option for registers

23 years ago* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
DJ Delorie [Wed, 29 Nov 2000 20:14:48 +0000 (20:14 +0000)]
* libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

23 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 20:07:08 +0000 (20:07 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.

* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

23 years ago* hashtab.c (higher_prime_number): Use a table, rather than a
DJ Delorie [Wed, 29 Nov 2000 19:19:10 +0000 (19:19 +0000)]
* hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.

23 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 19:17:37 +0000 (19:17 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

23 years agoFix -Wuninitialized warnings.
Andrew Cagney [Wed, 29 Nov 2000 14:41:34 +0000 (14:41 +0000)]
Fix -Wuninitialized warnings.

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 29 Nov 2000 04:56:32 +0000 (04:56 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* elf32-mips.c: Fix formatting.

23 years ago2000-10-23 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 29 Nov 2000 00:27:46 +0000 (00:27 +0000)]
2000-10-23  Fernando Nasser  <fnasser@redhat.com>

From 2000-10-19  Steven Johnson  <sbjohnson@ozemail.com.au>
        Note: The original patch used asprintf/vasprintf.  I changed it to
use the new xasprintf/xvasprintf gdb functions.
        * gdbtk.c (TclDebug, gdbtk_init): Replaced the vast majority of
sprintf/vsprintf calls with asprintf and vasprintf respectively.
Should prevent any possible buffer overruns possible with
fixed size sprintf buffers. Specifically fixes a problem with long
filenames and clearing breakpoints overflowing their buffers when
using sprintf, causing a segfault. Generically should also prevent
any other similar problems from occuring.
        * gdbtk-cmds.c (sprintf_append_element_to_obj, get_pc_register,
gdb_get_tracepoint_info, gdb_load_disassembly, gdbtk_load_source,
gdbtk_load_asm, gdb_set_bp, gdb_set_bp_addr, gdb_get_breakpoint_info,
gdb_selected_frame, gdb_selected_block, gdb_get_blocks): Ditto.
        * gdbtk-hooks.c (gdbtk_warning, gdbtk_ignorable_warning,
gdbtk_readline_begin, gdbtk_set_hook, breakpoint_notify,
gdbtk_query, tracepoint_notify, gdbtk_error_begin,
gdbtk_annotate_signal): Ditto.

23 years ago * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:42:53 +0000 (23:42 +0000)]
* sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
(print_insn_ppi): Make nib1, nib2, nib3 unsigned.
Initialize variable dc to NULL.
(print_insn_shx): Remove unused label d_reg_n.

23 years ago2000-11-22 Michael Chastain <chastain@redhat.com>
Fernando Nasser [Tue, 28 Nov 2000 22:53:38 +0000 (22:53 +0000)]
2000-11-22  Michael Chastain  <chastain@redhat.com>

* mips_pro.exp: Accept either "middle -> top -> main" or
"middle -> main" in the backtrace, because gcc can optimize
tail calls to jumps.  Remove setup_xfail for the hppa case.
Add a comment with the original warning messages from PR 3016,
which was filed in 1993, to preserve them for posterity.

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 21:42:16 +0000 (21:42 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* aoutx.h: Fix formatting.
* bfd-in.h: Likewise.
* bfd-in2.h: Likewise.
* cache.c: Likewise.
* cisco-core.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffswap.h: Likewise.
* corefile.c: Likewise.

23 years ago*** empty log message ***
Mark Salter [Tue, 28 Nov 2000 21:00:57 +0000 (21:00 +0000)]
*** empty log message ***

23 years agoAdd Mark Salter to Write After Approval list.
Mark Salter [Tue, 28 Nov 2000 21:00:23 +0000 (21:00 +0000)]
Add Mark Salter to Write After Approval list.

23 years ago* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
Christopher Faylor [Tue, 28 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 01:33:15 +0000 (01:33 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* coff64-rs6000.c: Fix formatting.
* coffgen.c: Likewise.
* cofflink.c: Likewise.

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 01:27:10 +0000 (01:27 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* aout-adobe.c: Fix formatting.

23 years ago * common.h (e_machine numbers): Clarify comments to describe how
Hans-Peter Nilsson [Mon, 27 Nov 2000 21:52:56 +0000 (21:52 +0000)]
* common.h (e_machine numbers): Clarify comments to describe how
EM_* constants are assigned.  Move EM_PJ from official section to
ad-hoc section.
(EM_CRIS): Correct comment to match official description.
(EM_MMIX): Ditto.

23 years agoFix delete_hw_event_data() to free the scheduled events
Stephane Carrez [Mon, 27 Nov 2000 19:53:35 +0000 (19:53 +0000)]
Fix delete_hw_event_data() to free the scheduled events

23 years agoRemove space == 0 restriction in the simulator (dv-core)
Stephane Carrez [Mon, 27 Nov 2000 19:49:46 +0000 (19:49 +0000)]
Remove space == 0 restriction in the simulator (dv-core)

23 years ago2000-11-27 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 27 Nov 2000 12:45:17 +0000 (12:45 +0000)]
2000-11-27  Philip Blundell  <pb@futuretv.com>

* libcoff-in.h (coff_tdata): Add `strings_written' flag.
(obj_coff_strings_written): New accessor macro for above.
* libcoff.h: Regenerate.
* cofflink.c (_bfd_coff_final_link): Say that we wrote the
strings.
* coffcode.h (coff_write_object_contents): No need to write out
the string table if it's already been done.

23 years ago2000-11-22 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 27 Nov 2000 11:08:15 +0000 (11:08 +0000)]
2000-11-22  Philip Blundell  <pb@futuretv.com>

* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
weak undefined symbols.

23 years ago* remote.c (remote_write_bytes): Add default case to switch
Andrew Cagney [Mon, 27 Nov 2000 02:18:44 +0000 (02:18 +0000)]
* remote.c (remote_write_bytes): Add default case to switch
initializing ``todo''. Ditto for ``nr_bytes''.
* top.c (catch_errors): Always initialize ``val''.
* solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
returning an unknown size.
* gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
* breakpoint.c (break_at_finish_at_depth_command_1): Initialise
extra_args to NULL.
(break_at_finish_command_1): Ditto.

23 years ago* TODO: Add GFDL updates to 5.1 release criteria.
Andrew Cagney [Mon, 27 Nov 2000 00:37:19 +0000 (00:37 +0000)]
* TODO: Add GFDL updates to 5.1 release criteria.

23 years agoPreliminary support for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 21:41:31 +0000 (21:41 +0000)]
Preliminary support for 68HC12

23 years agoRegister a delete handler for 68HC11 core device node
Stephane Carrez [Sun, 26 Nov 2000 20:53:11 +0000 (20:53 +0000)]
Register a delete handler for 68HC11 core device node

23 years agoAdd support for configuring an xscale atrget
Nick Clifton [Sun, 26 Nov 2000 20:04:41 +0000 (20:04 +0000)]
Add support for configuring an xscale atrget

23 years agoFix for sim/common hw_delete()/hw_tree_delete()
Stephane Carrez [Sat, 25 Nov 2000 09:18:52 +0000 (09:18 +0000)]
Fix for sim/common hw_delete()/hw_tree_delete()

23 years agoFix memory leak in sim_parse_args
Stephane Carrez [Sat, 25 Nov 2000 09:16:22 +0000 (09:16 +0000)]
Fix memory leak in sim_parse_args

23 years agoAdd ARM v5t, v5te and XScale support
Nick Clifton [Sat, 25 Nov 2000 00:21:40 +0000 (00:21 +0000)]
Add ARM v5t, v5te and XScale support

23 years agoSupport 68HC12 arch in Gdb
Stephane Carrez [Fri, 24 Nov 2000 21:24:04 +0000 (21:24 +0000)]
Support 68HC12 arch in Gdb

23 years agoUse gdbarch_tdep for 68hc11 specific data (stack_correction global)
Stephane Carrez [Fri, 24 Nov 2000 20:59:42 +0000 (20:59 +0000)]
Use gdbarch_tdep for 68hc11 specific data (stack_correction global)

23 years agoFix device memory allocation in 68hc11 simulator
Stephane Carrez [Fri, 24 Nov 2000 20:53:35 +0000 (20:53 +0000)]
Fix device memory allocation in 68hc11 simulator

23 years agoAdd --enable-gdb-build-warnings=... to configure{,.in}.
Andrew Cagney [Fri, 24 Nov 2000 11:02:59 +0000 (11:02 +0000)]
Add --enable-gdb-build-warnings=... to configure{,.in}.