binutils-gdb.git
15 years agoopcodes/
Peter Bergner [Thu, 15 Jan 2009 04:27:28 +0000 (04:27 +0000)]
opcodes/
* ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
* ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
operand form and enable the four operand form for POWER6 and later.
<mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
three operand form for POWER6 and later.

gas/testsuite/
* gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests.
* gas/ppc/power6.d: Likewise.

15 years ago * output.cc (Output_reloc): Add explicit instantiations.
Cary Coutant [Thu, 15 Jan 2009 02:18:11 +0000 (02:18 +0000)]
* output.cc  (Output_reloc): Add explicit instantiations.

15 years ago * archive.cc (Archive::get_elf_object_for_member): Remove call
Cary Coutant [Thu, 15 Jan 2009 01:29:25 +0000 (01:29 +0000)]
* archive.cc (Archive::get_elf_object_for_member): Remove call
to File_read::claim_for_plugin.
* descriptors.cc (Descriptors::open): Remove reference to
is_claimed.
(Descriptors::claim_for_plugin): Remove.
* descriptors.h (Descriptors::claim_for_plugin): Remove.
(Descriptors::is_claimed): Remove.
(claim_descriptor_for_plugin): Remove.
* fileread.cc (File_read::claim_for_plugin): Remove.
* fileread.h (File_read::claim_for_plugin): Remove.
(File_read::descriptor): Reopen descriptor if necessary.
* plugin.cc  (Plugin::load): Add two new APIs to transfer vector.
(Plugin_manager::all_symbols_read): Add task parameter. Change
all callers.
(Plugin_manager::get_input_file): New function.
(Plugin_manager::release_input_file): New function.
(Pluginobj::Pluginobj): Add filesize parameter and initialize
corresponding data member.
(Sized_pluginobj::Sized_pluginobj): Add filesize parameter
and pass to base constructor. Change all callers.
(get_input_file, release_input_file): New functions.
(make_sized_plugin_object): Add filesize parameter. Change all callers.
* plugin.h (Plugin_manager::Plugin_manager): Initialize task_ member.
(Plugin_manager::all_symbols_read): Add task parameter.
(Plugin_manager::get_input_file): New function.
(Plugin_manager::release_input_file): New function.
(Plugin_manager::task_): New data member.
(Pluginobj::Pluginobj): Add filesize parameter.
(Pluginobj::filename): New function.
(Pluginobj::descriptor): New function.
(Pluginobj::filesize): New function.
(Pluginobj::filesize_): New data member.
(Sized_pluginobj::Sized_pluginobj): Add filesize parameter.
* readsyms.cc (Read_symbols::do_read_symbols): Remove call to
File_read::claim_for_plugin; use Object::unlock to unlock the file.

* testsuite/Makefile.am (plugin_test_4): New test case for plugins
with archive libraries.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test.c (struct sym_info): New type.
(get_input_file, release_input_file): New static variables.
(onload): Capture new transfer vector entries.
(claim_file_hook): Stop reading at end of file according to filesize.
Factor out parsing of readelf output into separate function.
(all_symbols_read_hook): Exercise get_input_file and release_input_file
APIs and get the source file name from the symbol table.  Convert
source file name to corresponding object file name.  Print info
message when adding new input files.
(parse_readelf_line): New function.
* testsuite/plugin_test_1.sh: Add checks for new info messages.
* testsuite/plugin_test_2.sh: Likewise.
* testsuite/plugin_test_3.sh: Likewise.
* testsuite/plugin_test_4.sh: New test case.

15 years ago * plugin-api.h (LDPS_BAD_HANDLE): New constant.
Cary Coutant [Thu, 15 Jan 2009 01:28:14 +0000 (01:28 +0000)]
* plugin-api.h (LDPS_BAD_HANDLE): New constant.
(ld_plugin_get_input_file): New typedef.
(ld_plugin_release_input_file): New typedef.
(LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE): New constants.
(struct ld_plugin_tv): Add two new fields.

15 years ago*** empty log message ***
gdbadmin [Thu, 15 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 15 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agobfd/
H.J. Lu [Wed, 14 Jan 2009 21:52:49 +0000 (21:52 +0000)]
bfd/

2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9727
* elflink.c (elf_gc_sweep): Exclude the group section if the
first member of the section group is excluded.

ld/testsuite/

2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9727
* ld-elf/group8.s: New.
* ld-elf/group8a.d: Likewise.
* ld-elf/group8b.d: Likewise.
* ld-elf/group9.s: Likewise.
* ld-elf/group9a.d: Likewise.
* ld-elf/group9b.d: Likewise.

15 years ago * NEWS: Document "define" for prefixed commands.
Daniel Jacobowitz [Wed, 14 Jan 2009 20:40:09 +0000 (20:40 +0000)]
* NEWS: Document "define" for prefixed commands.
* cli/cli-cmds.c (show_user): Update calls to show_user_1.  Call
show_user_1 for prefix commands.
* cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
* cli/cli-script.c (validate_comname): Rewrite to handle prefix
commands.  Return the containing command list.
(define_command, document_command): Update to handle prefix commands.
(show_user_1): Add prefix and name arguments.  Handle prefix
commands.
* cli/cli-script.h (show_user_1): Update prototype.

doc/
* gdb.texinfo (Define, Hooks): Document prefix command support.

testsuite/
* gdb.base/define.exp: Test defining and hooking prefix commands.
* gdb.python/python.exp: Update test for "show user" output.

15 years ago2009-01-14 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Wed, 14 Jan 2009 20:21:09 +0000 (20:21 +0000)]
2009-01-14  Kai Tietz  <kai.tietz@onevision.com>

* mingw-ser.c (console_select_thread): Add return to make
compiler happy.
(pipe_select_thread): Likewise.
(file_select_thread): Likewise.

15 years ago2009-01-14 Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Wed, 14 Jan 2009 19:35:12 +0000 (19:35 +0000)]
2009-01-14  Mike Frysinger  <vapier@gentoo.org>

* bfin-dis.c (OUTS): Use "%s" as format string.

15 years ago2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Wed, 14 Jan 2009 15:43:20 +0000 (15:43 +0000)]
2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/tc-s390.h: Define LOCAL_LABEL_PREFIX.

15 years ago * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
Pedro Alves [Wed, 14 Jan 2009 15:21:55 +0000 (15:21 +0000)]
* mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
previous change.

15 years ago * remote.c (extended_remote_mourn_1): Invalidate our notion of
Pedro Alves [Wed, 14 Jan 2009 15:00:19 +0000 (15:00 +0000)]
* remote.c (extended_remote_mourn_1): Invalidate our notion of
current general thread.

15 years ago * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
Pedro Alves [Wed, 14 Jan 2009 14:22:01 +0000 (14:22 +0000)]
* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
without a live selected thread.

15 years ago * win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
Pedro Alves [Wed, 14 Jan 2009 13:42:27 +0000 (13:42 +0000)]
* win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
when handling a EXIT_PROCESS_DEBUG_EVENT.

15 years agoCleanup code related to --identify option.
Nick Clifton [Wed, 14 Jan 2009 11:55:43 +0000 (11:55 +0000)]
Cleanup code related to --identify option.

        * binutils/dlltool.c (file scope): Removed globals identify_ms,
        identify_member_contains_symname_result,
        identify_dll_name_list_head, and identify_dll_name_list_tail.
        Renamed existing typedef dll_name_list_type to
        dll_name_list_node_type.
        Added new typedefs dll_name_list_type, symname_search_data_type,
        and identify_data_type.
        (identify_append_dll_name_to_list): Renamed to...
        (dll_name_list_append): ...here.  Changed signature to accept list
        argument rather than use global.
        (identify_count_dll_name_list): Renamed to...
        (dll_name_list_count): ...here.  Changed signature to accept list
        argument rather than use global.
        (identify_print_dll_name_list): Renamed to...
        (dll_name_list_print): ...here.  Changed signature to accept list
        argument rather than use global.
        (identify_free_dll_name_list): Renamed to...
        (dll_name_list_free_contents): ...here.
        (dll_name_list_free): New function.
        (dll_name_list_create): New function.
        (identify_process_section_p): Changed signature to accept
        ms_style_implib argument rather than use global.
        (identify_member_contains_symname): Expect incoming void * data to
        be symname_search_data_type.
        (identify_dll_for_implib): Use new functions dll_name_list_create
        and dll_name_list_free.  Use new types symname_search_data_type
        and identify_data_type to communicate with search routines.
        (identify_search_section): Expect incoming void * data to be
        identify_data_type. Use its contents rather than global
        variables.

15 years ago2009-01-14 Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Wed, 14 Jan 2009 11:47:07 +0000 (11:47 +0000)]
2009-01-14  Joseph Myers  <joseph@codesourcery.com>
            Carlos O'Donell  <carlos@codesourcery.com>

Fixes for makeinfo --html.

* annotate.texinfo: Use @copying and @insertcopying.  Use
@ifnottex in place of @ifinfo.
* gdb.texinfo: Use @copying and @insertcopying.  Use @ifnottex in
place of @ifinfo.  Use @ifnotinfo for one index entry.
* gdbint.texinfo: Use @copying and @insertcopying.  Use @ifnottex
in place of @ifinfo.
* stabs.texinfo: Use @copying and @insertcopying.  Use @ifnottex
in place of @ifinfo.  Include contents at start unconditionally.

15 years ago Update the copyright notice of some of the files I missed
Joel Brobecker [Wed, 14 Jan 2009 10:53:10 +0000 (10:53 +0000)]
    Update the copyright notice of some of the files I missed
        in the previous copyright update.

15 years ago * windows-nat.c (handle_unload_dll): Use %p to print the DLL
Joel Brobecker [Wed, 14 Jan 2009 05:27:48 +0000 (05:27 +0000)]
    * windows-nat.c (handle_unload_dll): Use %p to print the DLL
        base address instead of casting it to DWORD.

15 years agomissed commit
Alan Modra [Wed, 14 Jan 2009 01:26:18 +0000 (01:26 +0000)]
missed commit

15 years ago2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Jan 2009 00:42:07 +0000 (00:42 +0000)]
2009-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Remove a white space.
(operand_type_init): Likewise.

15 years ago*** empty log message ***
gdbadmin [Wed, 14 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 14 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago PR 9735
Alan Modra [Tue, 13 Jan 2009 23:44:45 +0000 (23:44 +0000)]
PR 9735
* syms.c (_bfd_stab_section_find_nearest_line): Don't free
saved filename, use bfd_alloc rather than bfd_malloc for it.

15 years ago * gdb.texinfo (General Query Packets): Remove @var{} around the
Pedro Alves [Tue, 13 Jan 2009 19:05:53 +0000 (19:05 +0000)]
* gdb.texinfo (General Query Packets): Remove @var{} around the
"spu" literal string.

15 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
Ulrich Weigand [Tue, 13 Jan 2009 18:01:49 +0000 (18:01 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
for NULL frame pointers.

15 years agoFix a typo.
H.J. Lu [Tue, 13 Jan 2009 15:49:13 +0000 (15:49 +0000)]
Fix a typo.

15 years ago * utils.c (host_address_to_string): Reimplement in a way that
Joel Brobecker [Tue, 13 Jan 2009 12:06:59 +0000 (12:06 +0000)]
    * utils.c (host_address_to_string): Reimplement in a way that
        avoids the cast of the address to long.

15 years ago * mdebugread.c (parse_symbol): Save the symbol private data
Joel Brobecker [Tue, 13 Jan 2009 11:52:43 +0000 (11:52 +0000)]
    * mdebugread.c (parse_symbol): Save the symbol private data
        using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
        (psymtab_to_symtab_1): Likewise.
        (parse_procedure): Declare variable "e" only in the scope
        where it is used. Extract the symbol private data using
        SYMBOL_VALUE_BYTES.

15 years ago2009-01-13 Jim Blandy <jimb@codesourcery.com>
Pedro Alves [Tue, 13 Jan 2009 10:34:31 +0000 (10:34 +0000)]
2009-01-13  Jim Blandy  <jimb@codesourcery.com>

Abstract out common code for copying value locations.

* value.h (set_value_component_location): New declaration.
* value.c (set_value_component_location): New function.
(value_primitive_field): Use it.
* valarith.c (value_subscript, value_subscripted_rvalue): Same.
* valops.c (search_struct_field, value_slice): Same.
* ada-lang.c (coerce_unspec_val_to_type)
(ada_value_primitive_packed_val): Same.

15 years ago * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
Joel Brobecker [Tue, 13 Jan 2009 10:04:12 +0000 (10:04 +0000)]
    * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.

15 years agoAdd --identify-strict option. Handle ms-style implibs:
Nick Clifton [Tue, 13 Jan 2009 09:23:51 +0000 (09:23 +0000)]
Add --identify-strict option.  Handle ms-style implibs:

        * dlltool.c (file scope): Added new globals identify_ms and
        identify_strict. New typedef dll_name_list_type, and globals
        identify_dll_name_list_head and identify_dll_name_list_tail. Added
        new global identify_member_contains_symname_result.
        (identify_append_dll_name_to_list): New function.
        (identify_count_dll_name_list): New function.
        (identify_print_dll_name_list): New function.
        (identify_free_dll_name_list): New function.
        (identify_search_archive): Changed signature to take function
        pointer to operation to apply to each member, and data to pass on
        to that function.
        (identify_search_member): Changed signature to accept user data
        from caller.
        (identify_member_contains_symname): New function.
        (identify_dll_for_implib): Rewrite. Now determines whether implib
        is ms- or binutils- style, before searching sections for
        dllname. Allows multiple dllnames.
        (identify_process_section_p): Search alternate section for dllname
        when implib is ms-style.
        (identify_search_section): Add additional conditions to excludes
        candidate sections from consideration.
        (usage): Added --identify-strict.
        (long_options): Added --identify-strict.
        (main): Handle --identify-strict option.
        * doc/binutils.texi: Document --identify-strict option.
        * NEWS: Document --identify and --identify-strict options.

15 years ago PR 7034
Alan Modra [Tue, 13 Jan 2009 06:41:53 +0000 (06:41 +0000)]
PR 7034
* doc/binutils.texi (objdump -R): Note effect of -d or -D.

15 years ago* amd64-windows-nat.c Rename gdb-specific win32_* to windows_* throughout.
Christopher Faylor [Tue, 13 Jan 2009 04:14:07 +0000 (04:14 +0000)]
* amd64-windows-nat.c Rename gdb-specific win32_* to windows_* throughout.
* i386-cygwin-tdep.c: Ditto.
* i386-windows-nat.c: Ditto.
* windows-nat.h: Ditto.
* windows-tdep.c: Ditto.
* windows-tdep.h: Ditto.
* windows-nat.c: Ditto.
(cygwin_load_start): Redefine as CORE_ADDR.
(cygwin_load_end): Ditto.
(windows_make_so): Coerce result of address arithmetic to to uintptr_t before
coercing to CORE_ADDR to avoid a compiler warning.
(handle_exception): Define addr as CORE_ADDR and coerce ExceptionAddress to
uintptr_t before assigining to avoid a compiler warning.
* config/djgpp/fnchange.lst: Add mappings for recently renamed windows files.

15 years ago * ld-spu/icache1.s: New file.
Alan Modra [Tue, 13 Jan 2009 01:54:15 +0000 (01:54 +0000)]
* ld-spu/icache1.s: New file.
* ld-spu/icache1.d: New file.

15 years agogas/testsuite/
H.J. Lu [Tue, 13 Jan 2009 00:00:35 +0000 (00:00 +0000)]
gas/testsuite/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti.
* gas/i386/x86-64-sse-noavx.s: Likewise.

* gas/i386/sse-noavx.d: Updated.
* gas/i386/x86-64-sse-noavx.d: Likewise.

opcodes/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
* i386-tbl.h: Regenerated.

15 years ago*** empty log message ***
gdbadmin [Tue, 13 Jan 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 13 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * ppc-instructions (sync): Add L field.
Nathan Froyd [Mon, 12 Jan 2009 20:04:36 +0000 (20:04 +0000)]
* ppc-instructions (sync): Add L field.

15 years agoUpdate gas/i386/sse2avx-opts.d, gas/i386/sse2avx-opts-intel.d,
H.J. Lu [Mon, 12 Jan 2009 16:53:08 +0000 (16:53 +0000)]
Update gas/i386/sse2avx-opts.d, gas/i386/sse2avx-opts-intel.d,
gas/i386/x86-64-sse2avx-opts.d and gas/i386/x86-64-sse2avx-opts-intel.d.

15 years agogas/testsuite/
H.J. Lu [Mon, 12 Jan 2009 16:04:11 +0000 (16:04 +0000)]
gas/testsuite/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
sub and xor.
* gas/i386/x86-64-opts.s: Likewise.

* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.

opcodes/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
subB, xorB and cmpB.  Use EvS on addS, orS, adcS, sbbS, andS,
subS, xorS and cmpS.

15 years ago * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
Alan Modra [Mon, 12 Jan 2009 14:13:03 +0000 (14:13 +0000)]
* elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.

15 years ago * objdump.c (disassemble_section): Don't assume non-instruction
Alan Modra [Mon, 12 Jan 2009 14:09:18 +0000 (14:09 +0000)]
* objdump.c (disassemble_section): Don't assume non-instruction
data if object symbol at given address is in different section.

15 years ago * ld-elf/elf.exp: Save and restore LDFLAGS.
Alan Modra [Mon, 12 Jan 2009 13:57:59 +0000 (13:57 +0000)]
* ld-elf/elf.exp: Save and restore LDFLAGS.
* ld-scripts/default-script.exp: Likewise.
* ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
than replacing.
* ld-scripts/include.exp: Set --local-store for SPU.

15 years agoreally regenerate this time
Alan Modra [Mon, 12 Jan 2009 13:56:41 +0000 (13:56 +0000)]
really regenerate this time

15 years ago * elf32-spu.c (remove_cycles): Always set call->max_depth.
Alan Modra [Mon, 12 Jan 2009 13:56:03 +0000 (13:56 +0000)]
* elf32-spu.c (remove_cycles): Always set call->max_depth.

15 years ago2009-01-12 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Mon, 12 Jan 2009 10:14:13 +0000 (10:14 +0000)]
2009-01-12  Kai Tietz  <kai.tietz@onevision.com>

        * dlltool.c (create_for_pep): New.
        (flush_page): Use create_for_pep instead of using
        macro DLLTOOL_MX86_64 clause.
        (generate_idata_ofile): Likewise.
        (make_one_lib_file): Likewise.
        (make_head): Likewise.
        (make_tail): Likewise.
        (main): Initialize create_for_pep.

15 years ago * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
Alan Modra [Mon, 12 Jan 2009 04:09:43 +0000 (04:09 +0000)]
* elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.

15 years agoFix linking with --enable-targets=all:
Christopher Faylor [Mon, 12 Jan 2009 01:10:28 +0000 (01:10 +0000)]
Fix linking with --enable-targets=all:
* Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
(HFILES_NO_SRCDIR): Add windows-tdep.h.
(ALLDEPFILES): Add windows-tdep.c.
* win32-tdep.h: Delete.
* windows-tdep.h: Rename from win32-tdep.h.
* win32-nat.h: Delete.
* windows-nat.h: Rename from win32-nat.h.
* win32-nat.c: Delete.
* windows-nat.c: Rename from win32-nat.c.
* win32-termcap.c: Delete.
* windows-termcap.c: Rename from win32-termcap.c.
* amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
* configure.ac: Handle rename from win32-termcap.c -> windows-termcap.c.
* configure: Regenerate.
* gdb_curses.h: Change comment to reflect rename from win32-termcap.c ->
windows-termcap.c.
* i386-cygwin-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
* i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
* windows-nat.c: Ditto.  Also reflect rename from from win32-tdep.h ->
windows-tdep.h.
(win32_make_so): Handle cygwin compiler warning due to change of load_addr from
DWORD to LPVOID.
(handle_load_dll): Use %p in format string to properly print address and avoid
a compiler warning.
(DEBUG_EXCEPTION_SIMPLE): Ditto.
(handle_exception): Ditto.
* windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
* config/i386/cygwin.mh: Handle rename from win32-nat.o -> windows-nat.o.
* config/i386/mingw.mh: Ditto.
* config/i386/mingw64.mh: Ditto.

15 years agobfd/
Alan Modra [Mon, 12 Jan 2009 00:23:58 +0000 (00:23 +0000)]
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
num_lines_log2.
(struct got_entry): Add br_addr.
(struct call_info): Add priority.
(struct function_info): Add lr_store and sp_adjust.
(spu_elf_setup): Init line_size_log2 and num_lines_log2.
(spu_elf_find_overlays): For soft-icache, mark any section within cache
area as an overlay, and check that no other overlays exist.  Look up
icache overlay manager entry sym.
(BRA_STUBS, BRA, BRASL): Define.
(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
(needs_ovl_stub): Adjust for soft-icache.  Return priority encoded
in branch insn.
(count_stub, build_stub): Support soft-icache.
(build_spuear_stubs, process_stubs): Adjust build_stub call.
(spu_elf_size_stubs): Size soft-icache stubs.
(overlay_index): New function.
(spu_elf_build_stubs): Make static.  Support soft-icache.
(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
(find_function_stack_adjust): Save lr store and stack adjust insn
offsets.
(maybe_insert_function): Adjust find_function_stack_adjust call.
(mark_functions_via_relocs): Retrieve priority.
(remove_cycles): Only warn about pruned arcs when stack_analysis.
(sort_calls): Sort by priority first.
(mark_overlay_section): Ignore .ovl.init.
(sum_stack): Only print when stack_analysis.
(print_one_overlay_section): New function, extracted from..
(spu_elf_auto_overlay): ..here.  Support soft-icache overlays.
(spu_elf_stack_analysis): Only print when htab->stack_analysis.
(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
analysis.  Call spu_elf_build_stubs.
(spu_elf_relocate_section): For soft-icache encode overlay index
into addresses.
(spu_elf_output_symbol_hook): Support soft-icache.
(spu_elf_modify_program_headers: Likewise.
* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis.  Rename
num_regions to num_lines.  Add line_size and max_branch.
(enum _ovly_flavour): Add ovly_soft_icache.
(spu_elf_build_stubs): Delete.
gas/
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
(brinfo): New var.
(md_assemble): Poke brinfo into branch instructions.
(spu_brinfo): New function.
(md_apply_fix): Don't assume insn fields start off at zero, mask
them to remove possible brinfo.
ld/
* emultempl/spuelf.em (params): Init new fields.
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
(spu_place_special_section): Adjust placement for soft-icache.  Pad
soft-icache section to a fixed size.  Clear addr_tree.
(spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
sections a little more intelligently.
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
(OPTION_SPU_LRLIVE): Define.
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
* emultempl/spu_icache.S: Dummy file.
* emultempl/spu_icache.o_c: Regenerate.
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
(spu_icache.o_c): Add rule to build.
(CLEANFILES): Zap temp files.
(EXTRA_DIST): Add spu_icache.o_c.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-spu/ovl.d: Allow for absolute branches in stubs.
* ld-spu/ovl2.d: Likewise.

15 years ago*** empty log message ***
gdbadmin [Mon, 12 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 12 Jan 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
Jan Kratochvil [Sun, 11 Jan 2009 21:39:02 +0000 (21:39 +0000)]
* f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
arrayprint_recurse_level to a parameter.  Update all the callers.  New
comment at autovariables.

15 years agobfd/
Jan Kratochvil [Sun, 11 Jan 2009 21:09:49 +0000 (21:09 +0000)]
bfd/
* elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.

ld/testsuite/
* ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
ld-elf/linkoncerdiff2.s: New.

15 years ago * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
Jan Kratochvil [Sun, 11 Jan 2009 16:03:08 +0000 (16:03 +0000)]
* gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
coding style.

15 years ago * target.c (target_xfer_partial): Use host_address_to_string to
Joel Brobecker [Sun, 11 Jan 2009 13:23:42 +0000 (13:23 +0000)]
    * target.c (target_xfer_partial): Use host_address_to_string to
        print the address of readbuf and writebuf. Cast the address of
        elements inside the myaddr buffer into intptr_t.
        (deprecated_debug_xfer_memory): Use paddress to print memaddr.
        Cast the address of elements inside the myaddr buffer into
        intptr_t.

15 years ago * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
Joel Brobecker [Sun, 11 Jan 2009 13:15:56 +0000 (13:15 +0000)]
    * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
        * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
        * configure.host, configure.tgt: Add handling for x86_64/windows.
        * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
        and amd64-windows-tdep.c.

15 years ago * win32-tdep.h, win32-tdep.c: New files.
Joel Brobecker [Sun, 11 Jan 2009 13:10:44 +0000 (13:10 +0000)]
    * win32-tdep.h, win32-tdep.c: New files.
        * i386-cygwin-tdep.h: Delete.
        * i386-cygwin-tdep.c: Include win32-tdep.h instead of
        i386-cygwin-tdep.h.
        (win32_xfer_shared_library): Delete.  Moved to win32-tdep.c.
        * win32-nat.c: Likewise.
        * configure.tgt: Add win32-tdep.o to the list of target object
        files for i386-cygwin and i386-mingw targets.

15 years ago * win32-nat.h: New file.
Joel Brobecker [Sun, 11 Jan 2009 04:13:57 +0000 (04:13 +0000)]
    * win32-nat.h: New file.
        * win32-nat.c (mappings): Initialize to NULL.
        (win32_set_context_register_offsets): New function.
        * i386-windows-nat.c: New file.
        (mappings): Moved here from win32-nat.c.
        (_initialize_i386_windows_nat): New function.
        * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
        * config/i386/cygwin.mh (NATDEPFILES): Likewise.

15 years agodaily update
Alan Modra [Sun, 11 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 11 Jan 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoReformat.
H.J. Lu [Sat, 10 Jan 2009 18:38:12 +0000 (18:38 +0000)]
Reformat.

15 years ago2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 10 Jan 2009 18:33:35 +0000 (18:33 +0000)]
2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* doc/c-i386.texi: Reformat.

15 years agogas/
H.J. Lu [Sat, 10 Jan 2009 17:25:52 +0000 (17:25 +0000)]
gas/

2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
.syscall.
(i386_align_code): Handle PROCESSOR_COREI7.
(md_show_usage): Add corei7, clflush and syscall.
(i386_target_format): Replace cpup4 with cpuclflush.

* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.

* doc/c-i386.texi: Document corei7, clflush and syscall.

gas/testsuite/

2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add clflush and syscall.
* gas/i386/x86-64-arch-2.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.

opcodes/

2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
CpuClflush and CpuSYSCALL, respectively. Remove CpuK8.  Add
CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
(cpu_flags): Remove CpuP4, CpuK6 and CpuK8.  Add CpuClflush
and CpuSYSCALL.
(lineno): Removed.
(set_bitfield): Take an argument, lineno.  Don't report lineno
on error if it is -1.
(process_i386_cpu_flag): Take an argument, lineno.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(output_i386_opcode): Likewise.
(opcode_hash_entry): Add lineno.
(process_i386_opcodes): Updated.
(process_i386_registers): Likewise.
(process_i386_initializers): Likewise.

* i386-opc.h (CpuP4): Removed.
(CpuK6): Likewise.
(CpuK8): Likewise.
(CpuClflush): New.
(CpuSYSCALL): Likewise.
(CpuMMX): Updated.
(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8.  Add
cpuclflush and cpusyscall.

* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
syscall and sysret.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years agodaily update
Alan Modra [Sat, 10 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 10 Jan 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
Andreas Schwab [Fri, 9 Jan 2009 21:15:10 +0000 (21:15 +0000)]
* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.

15 years agogas/
H.J. Lu [Fri, 9 Jan 2009 20:32:32 +0000 (20:32 +0000)]
gas/

2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .rdtscp.
(md_show_usage): Display rdtscp.

* doc/c-i386.texi: Document rdtscp.

gas/testsuite/

2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add rdtscp.
* gas/i386/x86-64-arch-2.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.

opcodes/

2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
and CPU_AMDFAM10_FLAGS.  Add CPU_RDTSCP_FLAGS.
(cpu_flags): Add CpuRdtscp.
(set_bitfield): Remove CpuSledgehammer check.

* i386-opc.h (CpuRdtscp): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpurdtscp.

* i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years agogas/
Peter Bergner [Fri, 9 Jan 2009 18:50:58 +0000 (18:50 +0000)]
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
Test the new "deprecated" opcode field.

include/opcode/
* ppc.h (struct powerpc_opcode): New field "deprecated".
(PPC_OPCODE_NOPOWER4): Delete.

opcodes/
* ppc-opc.c (PPCNONE): Define.
(NOPOWER4): Delete.
(powerpc_opcodes): Initialize the new "deprecated" field.

15 years ago * gdbtypes.c (append_composite_type_field): Correct the location of
Pedro Alves [Fri, 9 Jan 2009 17:41:53 +0000 (17:41 +0000)]
* gdbtypes.c (append_composite_type_field): Correct the location of
appended fields.

15 years ago * defs.h (deprecated_error_hook): Delete declaration.
Pedro Alves [Fri, 9 Jan 2009 17:29:52 +0000 (17:29 +0000)]
* defs.h (deprecated_error_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Adjust.
* remote-sim.c (gdb_os_error): Don't try to call
deprecated_error_hook.  No need to call exit anymore.
* top.c (deprecated_error_hook): Delete.

15 years ago * arch-utils.c (gdbarch_update_p): Use host_address_to_string
Joel Brobecker [Fri, 9 Jan 2009 11:09:08 +0000 (11:09 +0000)]
    * arch-utils.c (gdbarch_update_p): Use host_address_to_string
        to print the address of the gdbarch pointer.

15 years ago * gdbarch.sh: Fix all the compilation errors on amd64-windows
Joel Brobecker [Fri, 9 Jan 2009 11:06:48 +0000 (11:06 +0000)]
    * gdbarch.sh: Fix all the compilation errors on amd64-windows
        due to casting a pointer to a long when printing a function
        address. Instead, use host_address_to_string to convert our
        address to a string.
        * gdbarch.c: Regenerate.

15 years ago * event-top.c (async_disconnect, async_stop_sig): use "raise"
Joel Brobecker [Fri, 9 Jan 2009 11:00:00 +0000 (11:00 +0000)]
    * event-top.c (async_disconnect, async_stop_sig): use "raise"
        instead of "kill" to raise a signal.

15 years ago * win32-nat.c (get_module_name): Change the type of parameter
Joel Brobecker [Fri, 9 Jan 2009 10:58:26 +0000 (10:58 +0000)]
    * win32-nat.c (get_module_name): Change the type of parameter
        "base_address" to LPVOID.  Remove unnecessary cast.
        (struct lm_info): Change type of load_addr to LPVOID.
        (win32_make_so): Change the type of parameter "load_addr"
        to LPVOID.  Remove some unnecessary casts.
        (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
        (win32_xfer_shared_libraries): Add missing cast.

15 years ago * win32-nat.c (has_detach_ability, set_process_privilege):
Joel Brobecker [Fri, 9 Jan 2009 10:48:36 +0000 (10:48 +0000)]
    * win32-nat.c (has_detach_ability, set_process_privilege):
        Cast the result of GetProcAddress to (void *) to avoid
        a compilation warning.

15 years ago * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
Joel Brobecker [Fri, 9 Jan 2009 10:45:42 +0000 (10:45 +0000)]
    * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
        already defined.

15 years ago * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
Joel Brobecker [Fri, 9 Jan 2009 10:43:37 +0000 (10:43 +0000)]
    * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
        definition of local variable "done".
        (info_w32_command, handle_exception): Remove unnecessary cast.

15 years ago * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
Joel Brobecker [Fri, 9 Jan 2009 10:39:15 +0000 (10:39 +0000)]
    * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
        DebugSetProcessKillOnExit.  Update all uses in this file.
        (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
        Update all uses in this file.

15 years ago * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
Joel Brobecker [Fri, 9 Jan 2009 10:36:00 +0000 (10:36 +0000)]
    * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
        and use it when pushing the target.
        (win32_attach, win32_create_inferior): Update call to
        do_initial_win32_stuff.
        (win32_detach, win32_mourn_inferior): Use our ops parameter
        instead of the global win32_ops to unpush the target.

15 years ago * ser-mingw.c (ser_windows_open): Use proper type when casting
Joel Brobecker [Fri, 9 Jan 2009 10:32:34 +0000 (10:32 +0000)]
    * ser-mingw.c (ser_windows_open): Use proper type when casting
        in call to _open_osfhandle.

15 years ago2009-01-09 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Fri, 9 Jan 2009 09:33:31 +0000 (09:33 +0000)]
2009-01-09  Kai Tietz  <kai.tietz@onevision.com>

        * coff-pe-read.c (read_pe_exported_syms): Fix typo.

15 years ago * CONTRIBUTE: Minor reformatting.
Joel Brobecker [Fri, 9 Jan 2009 04:46:22 +0000 (04:46 +0000)]
    * CONTRIBUTE: Minor reformatting.

15 years ago*** empty log message ***
gdbadmin [Fri, 9 Jan 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 9 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 20:53:32 +0000 (20:53 +0000)]
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
export directory.

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 20:46:13 +0000 (20:46 +0000)]
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* MAINTAINERS: Add myself to Write After Approval.

15 years ago * remote-sim.c (gdb_os_error): Mark as a noreturn function.
Nathan Froyd [Thu, 8 Jan 2009 19:19:27 +0000 (19:19 +0000)]
* remote-sim.c (gdb_os_error): Mark as a noreturn function.
Call exit to make it obvious to GCC.

15 years ago PR breakpoints/9350:
Tom Tromey [Thu, 8 Jan 2009 16:32:30 +0000 (16:32 +0000)]
PR breakpoints/9350:
* varobj.c (varobj_invalidate): Unconditionally free
all_rootvarobj.
* symfile.c (syms_from_objfile): Free local_addr when returning
normally.
* exec.c (exec_file_attach): Do cleanups before returning.
(exec_file_command): Likewise.
* corefile.c (reopen_exec_file): Do cleanups before returning.
* breakpoint.c (insert_breakpoint_locations): Do cleanups before
returning.
(do_vec_free): New function.
(update_global_location_list): Make a cleanup for old_locations.
Do cleanups before returning.  Remove unused variable 'e'.
(find_condition_and_thread): Free result of parsing the
expression.
(print_it_typical): Do cleanups before returning.
(breakpoint_re_set_one): Always free sals.sals.

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 13:29:14 +0000 (13:29 +0000)]
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* dlltool.c (use_nul_prefixed_import_tables): New.
(make_head): Make prefix leading zero prefix element for
idata$4 and idata$5 dependent to new flag.
(usage): Add new option  --use-nul-prefixed-import-tables.
(OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
(long_options): Add --use-nul-prefixed-import-tables.
(main): Likewise.
* doc/binutils.texi: Add new option documentation for
--use-nul-prefixed-import-tables.
* NEWS: Add new option.

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 13:28:48 +0000 (13:28 +0000)]
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
(gld..._add_options): Add new option
--use-nul-prefixed-import-tables.
(gld..._handle_option): Likewise.
* pep.em: Same as for pe.em.
* ld.texinfo: Add new option documentation for
--use-nul-prefixed-import-tables.
* pe-dll.c (pe_use_nul_prefixed_import_tables): New.
(make_head): Make prefix leading zero prefix element for
idata$4 and idata$5 dependent to new flag.
(make_import_fixup_entry): Remove idata4/5 prefix.
* pe-dll.h (pe_use_nul_prefixed_import_tables): New.
* pep-dll.c (pe_use_nul_prefixed_import_tables): New.
* pep-dll.h (pep_use_nul_prefixed_import_tables): New.
* NEWS: Add new option.

15 years ago* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
Emi Suzuki [Thu, 8 Jan 2009 03:58:06 +0000 (03:58 +0000)]
* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
watchpoints.

15 years ago*** empty log message ***
gdbadmin [Thu, 8 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 8 Jan 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * top.c (gdb_prompt_string): Delete, unused.
Doug Evans [Wed, 7 Jan 2009 22:04:47 +0000 (22:04 +0000)]
* top.c (gdb_prompt_string): Delete, unused.

15 years agogdb/
Pedro Alves [Wed, 7 Jan 2009 21:42:50 +0000 (21:42 +0000)]
gdb/
2009-01-07  Pedro Alves  <pedro@codesourcery.com>

Delete ONE_PROCESS_WRITETEXT leftovers.

* breakpoint.c (insert_bp_location): Delete process_warning
argument.  Adjust.
(insert_breakpoint_locations): Adjust.
(reattach_breakpoints): Adjust.
* infrun.c (normal_stop): Drop "It might be running in another
process" notice.

gdb/doc/
2009-01-07  Pedro Alves  <pedro@codesourcery.com>

* gdb.texinfo (Error in Breakpoints): Delete mention of "The same
program may be running in another process" errors.
* gdbint.texinfo (Native Conditionals): Delete
ONE_PROCESS_WRITETEXT description.

15 years ago * version.cc (version_string): Bump to 1.8.
Ian Lance Taylor [Wed, 7 Jan 2009 21:39:25 +0000 (21:39 +0000)]
* version.cc (version_string): Bump to 1.8.

15 years ago * config/pa/linux.mh (XDEPFILES): Remove.
Stan Shebs [Wed, 7 Jan 2009 21:21:11 +0000 (21:21 +0000)]
* config/pa/linux.mh (XDEPFILES): Remove.

15 years ago * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
Doug Evans [Wed, 7 Jan 2009 20:38:16 +0000 (20:38 +0000)]
* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.

15 years agomerge from gcc
DJ Delorie [Wed, 7 Jan 2009 18:52:57 +0000 (18:52 +0000)]
merge from gcc