OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* Makefile.in: Use CXX to build the DLL.
cgf [Sun, 3 Dec 2000 05:16:33 +0000 (05:16 +0000)]
* Makefile.in: Use CXX to build the DLL.
* configure.in: Find correct c++ compiler.
* configure: Regenerate.
* path.cc (normalize_posix_path): Put correct drive at beginning of \foo style
paths.
(chdir): Don't send non-posix path to cygcwd.set.

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

* desc-cpu.scm (cgen-desc.h): Clarify generated filenames.
(cgen-desc.c): Likewise.

23 years ago2000-12-03 Ben Elliston <bje@redhat.com>
bje [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 ago * net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.
corinna [Sat, 2 Dec 2000 21:28:59 +0000 (21:28 +0000)]
    * net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
ciceron [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>
ciceron [Sat, 2 Dec 2000 17:07:03 +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>
ciceron [Sat, 2 Dec 2000 16:55:36 +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.
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
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:
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
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
cagney [Sat, 2 Dec 2000 13:25:25 +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.
cagney [Sat, 2 Dec 2000 11:37:13 +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
nickc [Sat, 2 Dec 2000 01:10:31 +0000 (01:10 +0000)]
Add MIPS SB1 machine

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

23 years agoAdd MIPS V and MIPS 64 machine numbers
nickc [Sat, 2 Dec 2000 00:52:54 +0000 (00:52 +0000)]
Add MIPS V and MIPS 64 machine numbers

23 years ago * desc.scm ((<keyword>,gen-defn): Prepend prefix to keyword index names.
gkm [Sat, 2 Dec 2000 00:18:57 +0000 (00:18 +0000)]
* desc.scm ((<keyword>,gen-defn): Prepend prefix to keyword index names.

23 years agoAdd mips32 tests.
nickc [Fri, 1 Dec 2000 23:52:12 +0000 (23:52 +0000)]
Add mips32 tests.

23 years agoFix whitespace
nickc [Fri, 1 Dec 2000 23:50:11 +0000 (23:50 +0000)]
Fix whitespace

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

23 years agoAdd initialiser for membership field
nickc [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>
fnasser [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
nickc [Fri, 1 Dec 2000 20:05:31 +0000 (20:05 +0000)]
Improve MIPS32 support

23 years agoFix testcase and test results
nickc [Fri, 1 Dec 2000 19:11:20 +0000 (19:11 +0000)]
Fix testcase and test results

23 years agoWhen calculating offsets, don't accept as constant the difference between the
nickc [Fri, 1 Dec 2000 19:06:15 +0000 (19:06 +0000)]
When calculating offsets, don't accept as constant the difference between the
addresses of symbols in two different sections.

23 years agoExpect mips16 nops to be used for padding when mips16 code generation is
nickc [Fri, 1 Dec 2000 18:57:08 +0000 (18:57 +0000)]
Expect mips16 nops to be used for padding when mips16 code generation is
enabled.

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

23 years agoUpdate RTEMS targets
nickc [Fri, 1 Dec 2000 18:28:58 +0000 (18:28 +0000)]
Update RTEMS targets

23 years agoUpdate RTEMS targets
nickc [Fri, 1 Dec 2000 18:19:19 +0000 (18:19 +0000)]
Update RTEMS targets

23 years agoReally delete elf64-ia64.c this time.
nickc [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>
fnasser [Fri, 1 Dec 2000 18:01:37 +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-11-30 Philip Blundell <pb@futuretv.com>
pb [Fri, 1 Dec 2000 17:11:56 +0000 (17:11 +0000)]
2000-11-30  Philip Blundell  <pb@futuretv.com>

* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
even in non BFD_ASSEMBLER case.

23 years ago2000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>
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.
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 ago * library/balloon.tcl (balloon): Document `balloon withdraw'.
tromey [Fri, 1 Dec 2000 05:46:45 +0000 (05:46 +0000)]
* library/balloon.tcl (balloon): Document `balloon withdraw'.

23 years ago2000-12-01 Ben Elliston <bje@redhat.com>
bje [Fri, 1 Dec 2000 04:45:20 +0000 (04:45 +0000)]
2000-12-01  Ben Elliston  <bje@redhat.com>

* sim-cpu.scm (cgen-cpu.h): Only emit argbuf, scache and extract
definitions if run without with-multipla-isa?.
(cgen-defs.h): New function. Emit an ISA-specific defs file.
* cgen-sim.scm (sim-arguments): Accept -G option to generate defs.

23 years ago2000-11-30 Diego Novillo <dnovillo@redhat.com>
dnovillo [Fri, 1 Dec 2000 03:08:31 +0000 (03:08 +0000)]
2000-11-30  Diego Novillo  <dnovillo@redhat.com>

* tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
syntax.

2000-11-30  Diego Novillo  <dnovillo@redhat.com>

* intel.s, intel.d: New test for @GOT references.

23 years ago2000-11-30 Fernando Nasser <fnasser@redhat.com>
fnasser [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 ago2000-11-30 Fernando Nasser <fnasser@redhat.com>
fnasser [Fri, 1 Dec 2000 00:41:27 +0000 (00:41 +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.
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
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 ago2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 30 Nov 2000 20:18:28 +0000 (20:18 +0000)]
2000-11-30  Jeff Johnston <jjohnstn@redhat.com>

        * libc/sys/sh/syscalls.c (_link): New stub.

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

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

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

23 years ago* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
dj [Thu, 30 Nov 2000 15:35:53 +0000 (15:35 +0000)]
* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.

23 years ago * emulparams/crislinux.sh (ENTRY): Change back to _start.
hp [Thu, 30 Nov 2000 15:08:44 +0000 (15:08 +0000)]
* emulparams/crislinux.sh (ENTRY): Change back to _start.
(TEXT_START_SYMBOLS): Remove conditional setting of __start.

* scripttempl/crisaout.sc: Change all RELOCATING not related to
merging non-a.out sections into CONSTRUCTING.

23 years ago2000-11-30 Kazu Hirata <kazu@hxi.com>
kazu [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.
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
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.
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 Intel's XScale processor
nickc [Thu, 30 Nov 2000 01:57:59 +0000 (01:57 +0000)]
Add support for Intel's XScale processor

23 years agoAdd support for Intel's XScale processor
nickc [Thu, 30 Nov 2000 01:57:26 +0000 (01:57 +0000)]
Add support for Intel's XScale processor

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

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

23 years ago * cygheap.cc (chgheap_root::operator =): Check root dir properly.
corinna [Wed, 29 Nov 2000 22:27:15 +0000 (22:27 +0000)]
    * cygheap.cc (chgheap_root::operator =): Check root dir properly.

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

23 years agoTurn Gnu Free Documentation License intoa comment
nickc [Wed, 29 Nov 2000 21:45:14 +0000 (21:45 +0000)]
Turn Gnu Free Documentation License intoa comment

23 years ago * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
rth [Wed, 29 Nov 2000 21:42:41 +0000 (21:42 +0000)]
    * dwarf2dbg.c: Rewrite from scratch.  Queue all debugging output
        until dwarf2_finish; use relaxation to get cross-fragment offsets;
        thread multiple subsegments properly; handle multiple code
        sections properly; emit proper compilation unit info for assembler
        generated debugging.

        * as.h (enum _relax_state): Add rs_dwarf2dbg.
        * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
        (dwarf2dbg_estimate_size_before_relax): Declare.
        (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
        * write.c: Include dwarf2dbg.h.
        (cvt_frag_to_fill): Handle rs_dwarf2dbg.
        (relax_segment): Likewise.

23 years ago * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
earnie [Wed, 29 Nov 2000 21:14:48 +0000 (21:14 +0000)]
* Makefile.in: eliminate the need for RUNTIME and CRT_ID.
Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
Create a libcoldname.a for the oldname library for CRTDLL.
Restrict libmoldname.a for the oldname library for MSVCRT.
* configure.in: eliminate setting RUNTIME and CRT_ID variables.
Restructure the $target_os case logic.
Always name the MinGW thread dll helper mingwm.
Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
* configure: regenerate.

23 years ago* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
dj [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 [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 [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 [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 ago * net.cc (cygwin_inet_aton): Return nonzero if the address
corinna [Wed, 29 Nov 2000 17:14:59 +0000 (17:14 +0000)]
    * net.cc (cygwin_inet_aton): Return nonzero if the address
is valid, zero if not according to Linux man page.

23 years agoNew entry "Bash says "command not found", but it's right there!"
davidsb [Wed, 29 Nov 2000 16:24:59 +0000 (16:24 +0000)]
New entry "Bash says "command not found", but it's right there!"

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

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 29 Nov 2000 04:56:31 +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>
fnasser [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 (parse_reg): Parse names case-insensitively.
hp [Tue, 28 Nov 2000 23:53:50 +0000 (23:53 +0000)]
(parse_reg): Parse names case-insensitively.

23 years ago (sh_elf_cons): Cast *input_line_pointer to unsigned char when
hp [Tue, 28 Nov 2000 23:48:44 +0000 (23:48 +0000)]
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.

23 years ago * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
hp [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 ago * gas/sh/err.exp: New, framework for error-testing.
hp [Tue, 28 Nov 2000 23:39:18 +0000 (23:39 +0000)]
* gas/sh/err.exp: New, framework for error-testing.
* gas/sh/err-1.s: New test.

23 years ago * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
hp [Tue, 28 Nov 2000 23:33:44 +0000 (23:33 +0000)]
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where instead of as_bad.  Tweak error message
accordingly.  Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.

23 years ago Change sourceware.cygnus.com to sources.redhat.com.
hp [Tue, 28 Nov 2000 23:10:04 +0000 (23:10 +0000)]
Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".

23 years ago * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
hp [Tue, 28 Nov 2000 22:57:04 +0000 (22:57 +0000)]
* MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.

23 years ago2000-11-22 Michael Chastain <chastain@redhat.com>
fnasser [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 [Tue, 28 Nov 2000 21:42:15 +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 ago2000-11-27 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 28 Nov 2000 21:28:59 +0000 (21:28 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* config/obj-aout.h: Fix formatting.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-som.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-z8k.h: Likewise.

23 years ago* mmap.cc (munmap): Check that mmap and munmap length match.
cgf [Tue, 28 Nov 2000 21:25:45 +0000 (21:25 +0000)]
* mmap.cc (munmap): Check that mmap and munmap length match.

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

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

23 years agoMove GNU Free Documentation License from the output into a comment
nickc [Tue, 28 Nov 2000 20:40:34 +0000 (20:40 +0000)]
Move GNU Free Documentation License from the output into a comment

23 years ago * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
hp [Tue, 28 Nov 2000 20:13:07 +0000 (20:13 +0000)]
* Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
targets.  Remove i860 from valid a.out targets.
* Makefile.in: Regenerate.

23 years ago * binutils-all/readelf.s: Adjust to readelf.c formatting changes.
hp [Tue, 28 Nov 2000 20:08:14 +0000 (20:08 +0000)]
* binutils-all/readelf.s: Adjust to readelf.c formatting changes.

23 years ago * fhandler.cc (fhandler_disk_file::open): Check for buggy CreateFile
corinna [Tue, 28 Nov 2000 18:45:42 +0000 (18:45 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Check for buggy CreateFile
        condition.
        * path.cc (path_conv::check): Get file system type in call to
        GetVolumeInformation to check for file systems with buggy CreateFile.
        * path.h (enum path_types): Add PATH_HASBUGGYOPEN.
        (class path_conv): Add methods `has_buggy_open' and
        `set_has_buggy_open'.

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

23 years ago * library/debug.tcl (logfile): Also recognize stderr.
tromey [Tue, 28 Nov 2000 16:50:25 +0000 (16:50 +0000)]
* library/debug.tcl (logfile): Also recognize stderr.

23 years ago * config/tc-cris.c: Include dwarf2dbg.h.
hp [Tue, 28 Nov 2000 15:39:14 +0000 (15:39 +0000)]
* config/tc-cris.c: Include dwarf2dbg.h.
  (md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn if generating ELF.
(s_cris_file, s_cris_loc): New.
* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.

23 years agoCorrect {STANDARD,MRI}_MUL_PRECEDENCE value.
amodra [Tue, 28 Nov 2000 13:33:22 +0000 (13:33 +0000)]
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.

23 years ago2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
obrien [Tue, 28 Nov 2000 10:43:11 +0000 (10:43 +0000)]
2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
does not use them.

Approved by:  Richard Henderson <rth@twiddle.net>
              Message-ID: <20001127014059.A16638@twiddle.net>

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
kazu [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 [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
hp [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 agooops, forgot a semicolon
dj [Mon, 27 Nov 2000 21:10:31 +0000 (21:10 +0000)]
oops, forgot a semicolon

23 years ago* readelf.c (usage): Add -wf (--debug-dump=frames) option.
dj [Mon, 27 Nov 2000 21:07:47 +0000 (21:07 +0000)]
* readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.

23 years agoFix delete_hw_event_data() to free the scheduled events
ciceron [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)
ciceron [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>
pb [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>
pb [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.