OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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}.

23 years agoFix entry typo and missing information.
Fernando Nasser [Fri, 24 Nov 2000 00:34:43 +0000 (00:34 +0000)]
Fix entry typo and missing information.

23 years ago* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
Alexandre Oliva [Thu, 23 Nov 2000 07:49:23 +0000 (07:49 +0000)]
* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.

23 years ago2000-11-23 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 23 Nov 2000 07:33:24 +0000 (07:33 +0000)]
2000-11-23  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.

23 years agoChangeLog
Alexandre Oliva [Thu, 23 Nov 2000 04:04:00 +0000 (04:04 +0000)]
ChangeLog

23 years ago * cplus-dem.c (main): Handle gnat_demangling.
Hans-Peter Nilsson [Thu, 23 Nov 2000 00:08:38 +0000 (00:08 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.

23 years agoAdd new ELF ABI defines
Nick Clifton [Wed, 22 Nov 2000 23:19:15 +0000 (23:19 +0000)]
Add new ELF ABI defines

23 years agoEliminate compiler warnings from IA-64 port.
Jim Wilson [Wed, 22 Nov 2000 21:25:36 +0000 (21:25 +0000)]
Eliminate compiler warnings from IA-64 port.
* coff-ia64.c (howto_table): Use EMPTY_HOWTO.
(in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
* cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
(ins_imms_scaled): Initialize sign_bit at function entry.
(elf64_ia64_operands): Add missing initializers.
* elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
parameters.
(elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
and free_extsyms at function entry.
(elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
(elfNN_ia64_create_dynamic_sections): Delete unused local h.
(get_got): Delete unused local srel.
(elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
(elfNN_ia64_relocate_section): Delete unused local dynindx.

23 years ago * mips-opc.c: Fix file header comment.
Chris Demetriou [Wed, 22 Nov 2000 18:01:56 +0000 (18:01 +0000)]
    * mips-opc.c: Fix file header comment.

23 years ago2000-11-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 22 Nov 2000 01:08:53 +0000 (01:08 +0000)]
2000-11-21  Kazu Hirata  <kazu@hxi.com>

* coff-a29k.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i960.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-stgo32.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-w65.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-ns32k.c: Likewise.

23 years ago2000-11-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 22 Nov 2000 00:56:55 +0000 (00:56 +0000)]
2000-11-21  Kazu Hirata  <kazu@hxi.com>

* ecoff.c: Fix formatting.
* ecofflink.c: Likewise.

23 years agoFix compile time warning, and remove possibility of infinite loop.
Nick Clifton [Tue, 21 Nov 2000 19:47:10 +0000 (19:47 +0000)]
Fix compile time warning, and remove possibility of infinite loop.

23 years ago * cplus-dem.c (cplus_demangle): Fix formatting.
Hans-Peter Nilsson [Tue, 21 Nov 2000 10:54:08 +0000 (10:54 +0000)]
* cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.

* cplus-dem.c (main): Handle java_demangling.

* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.

23 years ago * target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
Peter Schauer [Tue, 21 Nov 2000 10:26:07 +0000 (10:26 +0000)]
* target.h (TARGET_SIGNAL_REALTIME_64):  Added for IRIX 6.
* target.c (target_signal_from_host, do_target_signal_to_host):
Handle TARGET_SIGNAL_REALTIME_64.

23 years ago * solib.c (solib_open): Handle the case where
Kevin Buettner [Tue, 21 Nov 2000 09:23:32 +0000 (09:23 +0000)]
* solib.c (solib_open): Handle the case where
solib_absolute_prefix is NULL.

23 years ago2000-11-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 21 Nov 2000 02:24:32 +0000 (02:24 +0000)]
2000-11-20  Kazu Hirata  <kazu@hxi.com>

* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.

23 years ago2000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 21 Nov 2000 01:09:54 +0000 (01:09 +0000)]
2000-11-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * solist.h: Declare new function solib_open.
        * solib.c (solib_open): New function.  Abstracts some of the
        code from solib_map_sections, for finding the binary solib file.
        (solib_map_sections): Call solib_open.
        * solib-svr4.c (enable_break): Call solib_open.

23 years ago* gdbserver/low-nbsd.c (fetch_inferior_registers,
J.T. Conklin [Tue, 21 Nov 2000 00:25:58 +0000 (00:25 +0000)]
* gdbserver/low-nbsd.c (fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:46:36 +0000 (23:46 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* ia64-tdep.c (gdbarch_tdep): Change reference from
ELFOSABI_MONTEREY to ELFOSABI_AIX.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:45:42 +0000 (23:45 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_MONTEREY): Renamed to ...
(ELFOSABI_AIX): This.

23 years ago * c-valprint.c (print_function_pointer_address): New function
Peter Schauer [Mon, 20 Nov 2000 20:33:53 +0000 (20:33 +0000)]
* c-valprint.c (print_function_pointer_address):  New function
to automatically dereference a function pointer for printing
if necessary.
(c_val_print):  Use print_function_pointer_address when printing
function pointer addresses.

23 years ago* gdbserver/low-nbsd.c: Fix typos.
J.T. Conklin [Mon, 20 Nov 2000 19:30:29 +0000 (19:30 +0000)]
* gdbserver/low-nbsd.c: Fix typos.

23 years ago2000-11-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 20 Nov 2000 19:05:12 +0000 (19:05 +0000)]
2000-11-20  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.
* aout-adobe.c: Likewise.
* aout-arm.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.

23 years ago * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
Jeff Law [Mon, 20 Nov 2000 17:44:07 +0000 (17:44 +0000)]
    * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.

23 years ago * ltcf-cxx.sh: Added file, required by 2000-11-18 merge.
Ian Lance Taylor [Mon, 20 Nov 2000 17:27:59 +0000 (17:27 +0000)]
* ltcf-cxx.sh: Added file, required by 2000-11-18 merge.

23 years agoAdd linespec maintainers.
Andrew Cagney [Mon, 20 Nov 2000 14:42:16 +0000 (14:42 +0000)]
Add linespec maintainers.

23 years agoDevolve Solaris/x86
Andrew Cagney [Mon, 20 Nov 2000 12:45:01 +0000 (12:45 +0000)]
Devolve Solaris/x86

23 years ago * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. Jim
Andrew Cagney [Mon, 20 Nov 2000 12:31:43 +0000 (12:31 +0000)]
   * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX.  Jim
       Blandy, KEvin Buettner and Peter Schauer share shared libs.

23 years agoMark error_no_arg() as no-return.
Andrew Cagney [Mon, 20 Nov 2000 03:37:09 +0000 (03:37 +0000)]
Mark error_no_arg() as no-return.

23 years agoReplace asprintf() / vasprintf() with xasprintf() xvasprintf().
Andrew Cagney [Mon, 20 Nov 2000 02:06:19 +0000 (02:06 +0000)]
Replace asprintf() / vasprintf() with xasprintf() xvasprintf().

23 years agoAdd ``extern'' and STREQ to cleanups.
Andrew Cagney [Mon, 20 Nov 2000 01:57:26 +0000 (01:57 +0000)]
Add ``extern'' and STREQ to cleanups.

23 years ago2000-11-20 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 19 Nov 2000 22:27:14 +0000 (22:27 +0000)]
2000-11-20  Ben Elliston  <bje@redhat.com>

* cgen-ops.h (SUBBI): New macro.
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.

23 years ago* symtab.c (no_symtab_msg): Remove definition.
Jim Blandy [Sun, 19 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* symtab.c (no_symtab_msg): Remove definition.
(sources_info): Replace use of no_symtab_msg with the string
itself.
* linespec.c (no_symtab_msg): Remove declaration.
(decode_line_1): Replace uses of no_symtab_msg with the string
itself.

23 years ago * gdb.texinfo (Continuing and Stepping): Fixed markup and typos,
Eli Zaretskii [Sun, 19 Nov 2000 06:31:39 +0000 (06:31 +0000)]
* gdb.texinfo (Continuing and Stepping):  Fixed markup and typos,
as suggested by Dmitry Sivachenko <dima@Chg.RU>.

23 years ago* Makefile.in: Merge with GCC and libgcj.
Alexandre Oliva [Sat, 18 Nov 2000 22:01:34 +0000 (22:01 +0000)]
* Makefile.in: Merge with GCC and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros.  Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.

23 years ago* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
Alexandre Oliva [Sat, 18 Nov 2000 20:58:43 +0000 (20:58 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.

23 years ago * Makefile.in: remove `@true' commands for rules that have
Greg McGary [Sat, 18 Nov 2000 09:08:59 +0000 (09:08 +0000)]
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.

23 years agoHandle optimizer code motions into the prologue.
Kevin Buettner [Sat, 18 Nov 2000 05:50:11 +0000 (05:50 +0000)]
Handle optimizer code motions into the prologue.

23 years agoProtoization.
Kevin Buettner [Sat, 18 Nov 2000 02:05:46 +0000 (02:05 +0000)]
Protoization.

23 years agoFix DT_INIT ABI violation, it is an offset not a function pointer.
Jim Wilson [Sat, 18 Nov 2000 00:41:35 +0000 (00:41 +0000)]
Fix DT_INIT ABI violation, it is an offset not a function pointer.
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.

23 years ago * lib/gdb.exp (gdb_test): Override timeout with board info.
Nicholas Duffek [Fri, 17 Nov 2000 17:16:24 +0000 (17:16 +0000)]
* lib/gdb.exp (gdb_test): Override timeout with board info.

23 years ago * gdb.base/display.exp: Don't kill running stub. Add "again" to
Nicholas Duffek [Fri, 17 Nov 2000 17:13:33 +0000 (17:13 +0000)]
* gdb.base/display.exp: Don't kill running stub.  Add "again" to
the second kill and detach messages.

23 years ago * configure.in: Add AC_EXEEXT.
Nicholas Duffek [Fri, 17 Nov 2000 16:37:48 +0000 (16:37 +0000)]
* configure.in: Add AC_EXEEXT.
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.

23 years ago * gdb.base/break.exp: Test backtrace and finish from called
Nicholas Duffek [Fri, 17 Nov 2000 16:24:48 +0000 (16:24 +0000)]
* gdb.base/break.exp: Test backtrace and finish from called
function on all platforms, not just HP-UX.

23 years ago* gdb.texinfo: Document new 'set step-mode' command.
Christopher Faylor [Fri, 17 Nov 2000 03:59:40 +0000 (03:59 +0000)]
* gdb.texinfo: Document new 'set step-mode' command.

23 years ago* thread.c (thread_apply_all_command): Save the command before executing it
Christopher Faylor [Fri, 17 Nov 2000 03:49:41 +0000 (03:49 +0000)]
* thread.c (thread_apply_all_command): Save the command before executing it
because it may be modified.  Restore the saved command so that the same command
is executed on next thread.
(thread_apply_command): Same correction.

23 years ago2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 17 Nov 2000 01:30:53 +0000 (01:30 +0000)]
2000-11-16  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (read_register_bytes): Failing to set register_valid
        is not necessarily an error, if the register is a pseudo-register.
        Some pseudo-registers are never marked as valid, so that they will
        be read anew every time.  Determining if a pseudo-register is valid
        (or should be marked invalid) may be difficult, whereas just
        recomputing it may be cheap.

23 years ago Update relocations per August psABI docs.
Richard Henderson [Thu, 16 Nov 2000 22:48:14 +0000 (22:48 +0000)]
    Update relocations per August psABI docs.
        * ia64.h (R_IA64_SEGBASE): Remove.
        (R_IA64_LTV*): Renumber to 0x74 to 0x77.
        (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
        (R_IA64_TPREL14, R_IA64_TPREL64I): New.
        (R_IA64_DTPMOD*): New.
        (R_IA64_DTPREL*): New.