OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago2006-09-27 Dave Brolley <brolley@redhat.com>
brolley [Wed, 27 Sep 2006 20:28:21 +0000 (20:28 +0000)]
2006-09-27  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (basic_cpu::configure): Set gprof_prev_cycle to
        total_insn_count when gprof 'cycles' not specified.

17 years agoUpdate commented out tracing statement in 'accumulate' to print the number of ticks.
brolley [Wed, 27 Sep 2006 16:31:33 +0000 (16:31 +0000)]
Update commented out tracing statement in 'accumulate' to print the number of ticks.

17 years ago2006-09-27 Dave Brolley <brolley@redhat.com>
brolley [Wed, 27 Sep 2006 16:20:49 +0000 (16:20 +0000)]
2006-09-27  Dave Brolley  <brolley@redhat.com>

        * configure.in (RUNTEST): Look for 'runtest' in the source tree by using
        $s instead of $r.
        * configure: Regenerated.

17 years agomerge from gcc
dj [Wed, 27 Sep 2006 15:03:37 +0000 (15:03 +0000)]
merge from gcc

17 years ago* output-file.c (output_file_close): Prevent an infinite loop reporting that stdoutpu...
nickc [Wed, 27 Sep 2006 11:14:59 +0000 (11:14 +0000)]
* output-file.c (output_file_close): Prevent an infinite loop reporting that stdoutput could not be closed.

17 years agobfd/
hjl [Wed, 27 Sep 2006 04:18:15 +0000 (04:18 +0000)]
bfd/

2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3223
PR ld/3267
* elf.c (assign_file_positions_for_non_load_sections): Don't
warn zero size allocated sections.

ld/

2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3223
PR ld/3267
* ld.texinfo: Updated Output Section Discarding.

* ldlang.h (lang_output_section_statement_type): Add
section_relative_symbol.
* ldlang.c (strip_excluded_output_sections): Don't strip a
section with a symbol relative to it.
(lang_size_sections_1): Mark if an output section has a symbol
symbol relative to it.

ld/testsuite/

2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3223
PR ld/3267
* ld-scripts/empty-address-1.d: New file.
* ld-scripts/empty-address-1.s: Likewise.
* ld-scripts/empty-address-1.t: Likewise.
* ld-scripts/empty-address-2.s: Likewise.
* ld-scripts/empty-address-2a.d: Likewise.
* ld-scripts/empty-address-2a.t: Likewise.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/empty-address-2b.t: Likewise.
* ld-scripts/empty-address-3.s: Likewise.
* ld-scripts/empty-address-3a.d: Likewise.
* ld-scripts/empty-address-3a.t: Likewise.
* ld-scripts/empty-address-3b.d: Likewise.
* ld-scripts/empty-address-3b.t: Likewise.
* ld-scripts/empty-address-3c.d: Likewise.
* ld-scripts/empty-address-3c.t: Likewise.
* ld-scripts/empty-address.exp: Likewise.

17 years ago * elf32-score.c (_bfd_score_elf_relocate_section): Move assignment
amodra [Wed, 27 Sep 2006 04:07:54 +0000 (04:07 +0000)]
* elf32-score.c (_bfd_score_elf_relocate_section): Move assignment
to "name" so that compiler realizes it is never uninitialized.
Use bfd_elf_sym_name.

17 years ago*** empty log message ***
gdbadmin [Wed, 27 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 26 Sep 2006 23:59:33 +0000 (23:59 +0000)]
daily update

17 years agogcc 4.1.0 portability fixes.
iant [Tue, 26 Sep 2006 21:53:18 +0000 (21:53 +0000)]
gcc 4.1.0 portability fixes.

17 years agog++ 3.2.2 portability fixes.
iant [Tue, 26 Sep 2006 21:50:25 +0000 (21:50 +0000)]
g++ 3.2.2 portability fixes.

17 years ago2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 26 Sep 2006 21:22:19 +0000 (21:22 +0000)]
2006-09-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
        for clearerr, feof, or fileno.
        * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
        the dummy std stream scheme to use pointers to const external
        fake files, one for each standard stream.
        * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
        argument.  For _REENT_SMALL, reset the file pointer if it
        matches one of the fake std stream pointers.
        * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
        argument.
        * libc/stdio/fclose.c: Ditto.
        * libc/stdio/feof.c: Ditto.
        * libc/stdio/ferror.c: Ditto.
        * libc/stdio/fflush.c: Ditto.
        * libc/stdio/fgetc.c: Ditto.
        * libc/stdio/fgets.c: Ditto.
        * libc/stdio/fileno.c: Ditto.
        * libc/stdio/findfp.c: Ditto.
        * libc/stdio/fputc.c: Ditto.
        * libc/stdio/fputs.c: Ditto.
        * libc/stdio/fread.c: Ditto.
        * libc/stdio/freopen.c: Ditto.
        * libc/stdio/fseek.c: Ditto.
        * libc/stdio/ftell.c: Ditto.
        * libc/stdio/fwrite.c: Ditto.
        * libc/stdio/getc.c: Ditto.
        * libc/stdio/getdelim.c: Ditto.
        * libc/stdio/putc.c: Ditto.
        * libc/stdio/refill.c: Ditto.
        * libc/stdio/setvbuf.c: Ditto.
        * libc/stdio/ungetc.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio/vfscanf.c: Ditto.
        * libc/stdio/wbuf.c: Ditto.: Ditto.
        * libc/stdio/wsetup.c: Ditto.
        * libc/stdio64/freopen64.c: Ditto.
        * libc/stdio64/fseeko64.c: Ditto.
        * libc/stdio64/ftello64.c: Ditto.
        * libc/machine/powerpc/vfprintf.c: Ditto.
        * libc/machine/powerpc/vfscanf.c: Ditto.

17 years agog++ 3.2.2 portability for grhat.
iant [Tue, 26 Sep 2006 21:20:56 +0000 (21:20 +0000)]
g++ 3.2.2 portability for grhat.

17 years agoMore section layout code.
iant [Tue, 26 Sep 2006 21:00:34 +0000 (21:00 +0000)]
More section layout code.

17 years ago2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 26 Sep 2006 19:11:03 +0000 (19:11 +0000)]
2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3262
* elf.c (rewrite_elf_program_header): Use bfd_zalloc instead of
bfd_alloc to allocate segment map.
(copy_elf_program_header): Likewise.

17 years ago2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 26 Sep 2006 16:45:24 +0000 (16:45 +0000)]
2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3257
* strings.c (main): Handle "-T format".

17 years ago * gprof.texi: Fix install failure.
ths [Tue, 26 Sep 2006 16:24:48 +0000 (16:24 +0000)]
* gprof.texi: Fix install failure.

17 years agoAdd Mei Ligang as maintainer of the Score port.
nickc [Tue, 26 Sep 2006 14:01:50 +0000 (14:01 +0000)]
Add Mei Ligang as maintainer of the Score port.

17 years agobfd/
jsm28 [Tue, 26 Sep 2006 12:04:43 +0000 (12:04 +0000)]
bfd/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* archures.c: Add definition for bfd_mach_arm_iWMMXt2.
* cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
(arch_info_struct, bfd_arm_update_notes): Likewise.
(architectures): Likewise.
(bfd_arm_merge_machines): Check for iWMMXt2.
* bfd-in2.h: Rebuild.

gas/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* config/tc-arm.c (arm_cext_iwmmxt2): New.
(enum operand_parse_code): New code OP_RIWR_I32z.
(parse_operands): Handle OP_RIWR_I32z.
(do_iwmmxt_wmerge): New function.
(do_iwmmxt_wldstd): Handle iwmmxt2 case where second operand is
a register.
(do_iwmmxt_wrwrwr_or_imm5): New function.
(insns): Mark instructions as RIWR_I32z as appropriate.
Also add torvsc<b,h,w>, wabs<b,h,w>, wabsdiff<b,h,w>,
waddbhus<l,m>, waddhc, waddwc, waddsubhx, wavg4{r}, wmaddu{x,n},
wmadds{x,n}, wmerge, wmiaxy{n}, wmiawxy{n}, wmul<sm,um>{r},
wmulw<um,sm,l>{r}, wqmiaxy{n}, wqmulm{r}, wqmulwm{r}, wsubaddhx.
(md_begin): Handle IWMMXT2.
(arm_cpus): Add iwmmxt2.
(arm_extensions): Likewise.
(arm_archs): Likewise.

gas/testsuite/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* gas/arm/iwmmxt2.s: New file.
* gas/arm/iwmmxt2.d: New file.

include/opcode/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* arm.h (ARM_CEXT_IWMMXT2, ARM_ARCH_IWMMXT2): Define.

opcodes/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* arm-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may
only be used with the default multiply-add operation, so if N is
set, don't bother printing X.  Add new iwmmxt instructions.
(IWMMXT_INSN_COUNT): Update.
(iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14
with a 'c' suffix.
(print_insn_coprocessor): Check for iWMMXt2.  Handle format
specifiers 'r', 'i'.

17 years ago * config.sub, config.guess: Update from upstream sources.
bje [Tue, 26 Sep 2006 05:22:50 +0000 (05:22 +0000)]
* config.sub, config.guess: Update from upstream sources.

17 years ago*** empty log message ***
gdbadmin [Tue, 26 Sep 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 25 Sep 2006 23:59:35 +0000 (23:59 +0000)]
daily update

17 years ago * configure.in: Remove broken changequote lines.
ths [Mon, 25 Sep 2006 23:37:12 +0000 (23:37 +0000)]
* configure.in: Remove broken changequote lines.

17 years agoAdd program segments.
iant [Mon, 25 Sep 2006 21:29:06 +0000 (21:29 +0000)]
Add program segments.

17 years ago * ld.texinfo (Options): Update description of local symbols for -X.
bwilson [Mon, 25 Sep 2006 16:26:56 +0000 (16:26 +0000)]
    * ld.texinfo (Options): Update description of local symbols for -X.

17 years ago * doc/as.texinfo (Overview): Revise description of --keep-locals.
bwilson [Mon, 25 Sep 2006 16:26:03 +0000 (16:26 +0000)]
    * doc/as.texinfo (Overview): Revise description of --keep-locals.
        Add xref to "Symbol Names".
        (L): Refer to "local symbols" instead of "local labels".  Move
        definition to "Symbol Names" section; add xref to that section.
        (Symbol Names): Use "Local Symbol Names" section to define local
        symbols.  Add "Local Labels" heading for description of temporary
        forward/backward labels, and refer to those as "local labels".

17 years ago * gprof.texi: Use TeX-style quotes and em-dashes consistently.
bwilson [Mon, 25 Sep 2006 16:16:45 +0000 (16:16 +0000)]
    * gprof.texi: Use TeX-style quotes and em-dashes consistently.
        Specify section names in cross references.  Fix typos.
        Omit "next", "previous" and "up" fields from @node lines.
        (SYNOPSIS): Show map_file argument to --file-ordering.
        (Compiling): Remove extra, truncated lines from example output.
        (Cycles): Fix references to "called" field.
        (Internals): Allow hyphenation between file:function names.
        (GNU Free Documentation License): Update formatting to match fdl.texi.

17 years ago*** empty log message ***
gdbadmin [Mon, 25 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 24 Sep 2006 23:59:35 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-24 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
hjl [Sun, 24 Sep 2006 17:25:47 +0000 (17:25 +0000)]
2006-09-24  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

PR binutils/3100
* i386-dis.c (prefix_user_table): Fix the second operand of
maskmovdqu instruction to allow only %xmm register instead of
both %xmm register and memory.

17 years agoAdd PR binutils/3000 to its entry.
hjl [Sun, 24 Sep 2006 17:13:59 +0000 (17:13 +0000)]
Add PR binutils/3000 to its entry.

17 years agoFix entry of fix for PR 3181.
hjl [Sun, 24 Sep 2006 16:24:10 +0000 (16:24 +0000)]
Fix entry of fix for PR 3181.

17 years ago2006-09-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 24 Sep 2006 14:57:44 +0000 (14:57 +0000)]
2006-09-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

17 years ago2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 24 Sep 2006 06:23:15 +0000 (06:23 +0000)]
2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3249
* scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
and .gnu.linkonce.wi.* sections with .data and .debug_info for
relocatable link.

17 years ago*** empty log message ***
gdbadmin [Sun, 24 Sep 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 23 Sep 2006 23:59:36 +0000 (23:59 +0000)]
daily update

17 years agogas/
hjl [Sat, 23 Sep 2006 23:10:12 +0000 (23:10 +0000)]
gas/

2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3235
* config/tc-i386.c (match_template): Check address size prefix
to turn Disp64/Disp32/Disp16 operand into Disp32/Disp16/Disp32
operand.

gas/testsuite/

2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3235
* gas/i386/addr16.d: New file.
* gas/i386/addr16.s: Likewise.
* gas/i386/addr32.d: Likewise.
* gas/i386/addr32.s: Likewise.

* gas/i386/i386.exp: Add "addr16" and "addr32".

* gas/i386/x86-64-addr32.s: Add tests for "add32 mov".
* gas/i386/x86-64-addr32.d: Updated.

opcodes/

2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3235
* i386-dis.c (OP_OFF64): Get 32bit offset if there is an
address size prefix.

17 years ago*** empty log message ***
gdbadmin [Sat, 23 Sep 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Fri, 22 Sep 2006 23:59:39 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-22 Paul Brook <paul@codesourcery.com>
jjohnstn [Fri, 22 Sep 2006 19:33:11 +0000 (19:33 +0000)]
2006-09-22  Paul Brook  <paul@codesourcery.com>

        * libc/include/sys/reent.h: Define and use __reent_assert.

17 years agomerge from gcc
dj [Fri, 22 Sep 2006 19:19:26 +0000 (19:19 +0000)]
merge from gcc

17 years ago * config/tc-ppc.c (ppc_symbol_chars): Remove '+' and '-'.
amodra [Fri, 22 Sep 2006 13:54:06 +0000 (13:54 +0000)]
* config/tc-ppc.c (ppc_symbol_chars): Remove '+' and '-'.

17 years ago * remote.c (remote_write_bytes_aux): Doc fix.
drow [Fri, 22 Sep 2006 13:50:35 +0000 (13:50 +0000)]
* remote.c (remote_write_bytes_aux): Doc fix.

17 years ago * elfcode.h (elf_swap_symbol_in): Return bfd_boolean. Don't abort
amodra [Fri, 22 Sep 2006 13:16:45 +0000 (13:16 +0000)]
* elfcode.h (elf_swap_symbol_in): Return bfd_boolean.  Don't abort
on error.
* elf-bfd.h (elf_size_info <swap_symbol_in>): Adjust decl.
(bfd_elf32_swap_symbol_in, bfd_elf64_swap_symbol_in): Likewise.
* elf.c (bfd_elf_get_elf_syms): Test return of swap_symbol_in,
and report error.
* elf32-arm.c (elf32_arm_swap_symbol_in): Return bfd_boolean.

17 years ago * as.h (as_perror): Delete declaration.
amodra [Fri, 22 Sep 2006 11:35:12 +0000 (11:35 +0000)]
* as.h (as_perror): Delete declaration.
* gdbinit.in (as_perror): Delete breakpoint.
* messages.c (as_perror): Delete function.
* doc/internals.texi: Remove as_perror description.
* listing.c (listing_print: Don't use as_perror.
* output-file.c (output_file_create, output_file_close): Likewise.
* symbols.c (symbol_create, symbol_clone): Likewise.
* write.c (write_contents): Likewise.
* config/obj-som.c (obj_som_version, obj_som_copyright): Likewise.
* config/tc-tic54x.c (tic54x_mlib): Likewise.

17 years ago * config/tc-ppc.c (md_section_align): Don't round up address for ELF.
amodra [Fri, 22 Sep 2006 11:05:27 +0000 (11:05 +0000)]
* config/tc-ppc.c (md_section_align): Don't round up address for ELF.
(ppc_handle_align): New function.
* config/tc-ppc.h (HANDLE_ALIGN): Use ppc_handle_align.
(SUB_SEGMENT_ALIGN): Define as zero.

17 years ago*** empty log message ***
gdbadmin [Fri, 22 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 21 Sep 2006 23:59:38 +0000 (23:59 +0000)]
daily update

17 years agoNew drop, with first cut of section layout code.
iant [Thu, 21 Sep 2006 22:13:18 +0000 (22:13 +0000)]
New drop, with first cut of section layout code.

17 years ago * remote-utils.c (try_rle): New function.
drow [Thu, 21 Sep 2006 16:09:54 +0000 (16:09 +0000)]
* remote-utils.c (try_rle): New function.
(putpkt_binary): Use it.

17 years ago * gdb.texinfo (Packets): Document vFlashErase,
drow [Thu, 21 Sep 2006 14:01:12 +0000 (14:01 +0000)]
* gdb.texinfo (Packets): Document vFlashErase,
vFlashWrite and vFlashDone packets.
(General Query Packets): Document qXfer:memory-map:read.
Add a new feature for qXfer:memory-map:read.
(Memory map format): New section.
(Target Commands): Mention that gdb can write flash.

17 years ago * Makefile.in (SFILES): Add target-memory.c.
drow [Thu, 21 Sep 2006 14:00:52 +0000 (14:00 +0000)]
* Makefile.in (SFILES): Add target-memory.c.
(COMMON_OBS): Add target-memory.o.
* memattr.c (lookup_mem_region): Adjust handling for
the top of memory.  Improve comments.
* remote.c (packet_check_result): New function, split out
from packet_ok.  Recognize "E." as an error prefix.
(packet_ok): Use it.
(remote_write_bytes_aux): New function, renamed from
remote_write_bytes.  Take packet header, packet format,
and length flag as arguments.
(remote_write_bytes): Rewrite to use remote_write_bytes_aux.
(remote_send_printf, restore_remote_timeout)
(remote_flash_timeout, remote_flash_erase, remote_flash_write)
(remote_flash_done): New.
(remote_xfer_partial): Handle flash writes.
(init_remote_ops, init_remote_async_ops): Set to_flash_erase
and to_flash_done.
* symfile.c (struct load_section_data): Include a pointer to
the cumulative stats and a request queue.  Move most members
to other types.
(struct load_progress_data, struct load_progress_section_data): New
types.
(load_progress): Handle a NULL baton and zero bytes.  Update for
type changes.
(load_section_callback): Create memory write requests instead of
writing to memory.  Don't print the progress message here.
(clear_memory_write_data): New function.
(generic_load): Use target_write_memory_blocks.
* target-memory.c: New file.
* target.c (update_current_target): Mention new uninherited methods.
(memory_xfer_partial): Issue an error for flash writes.
(target_flash_erase, target_flash_done): New functions.
(target_write_with_progress): Call the progress callback at the
start also.
* target.h (enum target_object): Add TARGET_OBJECT_FLASH.
(target_write_with_progress): Update comment.
(struct target_ops): Add to_flash_erase and to_flash_done.
(target_flash_erase, target_flash_done, struct memory_write_request)
(memory_write_request_s, enum flash_preserve_mode)
(target_write_memory_blocks): New, including a vector type
for memory_write_request_s.

17 years agogdb/
drow [Thu, 21 Sep 2006 13:54:02 +0000 (13:54 +0000)]
gdb/
2006-09-21  Vladimir Prus  <vladimir@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>
    Nathan Sidwell  <nathan@codesourcery.com>

* Makefile.in (SFILES): Add memory-map.c and xml-support.c.
(memory_map_h, xml_support_h): New.
(target_h): Add vec_h dependency.
(COMMON_OBS): Add memory-map.o and xml-support.o.
(memory-map.o, xml-support.o): New rules.
(remote.o): Update.
* exceptions.h (enum errors): Add XML_PARSE_ERROR.
* infcmd.c (run_command_1, attach_command): Call target_pre_inferior.
* memattr.c (default_mem_attrib): Initialize blocksize.
(target_mem_region_list, mem_use_target)
(target_mem_regions_valid, mem_region_cmp, mem_region_init)
(require_user_regions, require_target_regions)
(invalidate_target_mem_regions): New.
(create_mem_region): Use mem_region_init.
(mem_clear): Move higher.
(lookup_mem_region): Use require_target_regions.
(mem_command): Implement "mem auto".
(mem_info_command): Handle target-supplied regions and flash
attributes.
(mem_enable_command, mem_disable_command, mem_delete_command): Use
require_user_regions.
(_initialize_mem): Mention "mem auto" in help.
* memattr.h (enum mem_access_mode): Add MEM_FLASH.
(struct mem_attrib): Add blocksize.
(invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New
prototypes.
* remote.c: Include "memory-map.h".
(PACKET_qXfer_memory_map): New enum value.
(remote_protocol_features): Add qXfer:memory-map:read.
(remote_xfer_partial): Handle memory maps.
(remote_memory_map): New.
(init_remote_ops, init_remote_async_ops): Set to_memory_map.
(_initialize_remote): Register qXfer:memory-map:read.
* target.c (update_current_target): Mention to_memory_map.
(target_memory_map, target_pre_inferior): New.
(target_preopen): Call target_pre_inferior.
* target.h: Include "vec.h".
(enum target_object): Add TARGET_OBJECT_MEMORY_MAP.
(struct target_ops): Add to_memory_map.
(target_memory_map, target_pre_inferior): New prototypes.
* memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files.
gdb/doc/
2006-09-21  Vladimir Prus  <vladimir@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* gdb.texinfo (Memory Region Attributes): Mention target-supplied
memory regions and "mem auto".

17 years ago * ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
drow [Thu, 21 Sep 2006 13:50:50 +0000 (13:50 +0000)]
* ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
(strtoulst): Moved to ...
* utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
(strtoulst): ... here.  Enhanced to behave more similarly
to strtoul.
* defs.h (strtoulst): New prototype.

17 years ago * Makefile.in (memattr_h, memattr.o): Update.
drow [Thu, 21 Sep 2006 13:48:29 +0000 (13:48 +0000)]
* Makefile.in (memattr_h, memattr.o): Update.
* memattr.h: Include "vec.h".
(struct mem_region): Remove linked list pointer.
(mem_region_s): New typedef and corresponding vector.
* memattr.c: Include "vec.h".
(mem_region_chain): Delete.
(mem_region_list): New vector pointer.
(mem_region_lessthan): New function.
(create_mem_region): Remove unused return value.  Use vector
operations.  Remove linear search.
(delete_mem_region): Delete.
(lookup_mem_region): Use vector operations.  Add a FIXME.
(mem_info_command): Update to work with vectors.
(mem_enable, mem_enable_command, mem_disable, mem_disable_command)
(mem_free, mem_delete): Likewise.

17 years ago2006-09-21 Nathan Sidwell <nathan@codesourcery.com>
drow [Thu, 21 Sep 2006 13:47:53 +0000 (13:47 +0000)]
2006-09-21  Nathan Sidwell  <nathan@codesourcery.com>
gdb/
* vec.h: New file.
* vec.c: New file.
* Makefile.in (SFILES): Add vec.c.
(vec_h): New.
(COMMON_OBJS): Add vec.o.
(vec.o): New target.
gdb/doc/
* gdbint.texinfo (Array Containers): New section.

17 years ago * ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
schwab [Thu, 21 Sep 2006 09:41:34 +0000 (09:41 +0000)]
* ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
hosts.

17 years agoFix identity in ChangeLog.
msnyder [Thu, 21 Sep 2006 00:03:43 +0000 (00:03 +0000)]
Fix identity in ChangeLog.

17 years ago*** empty log message ***
gdbadmin [Thu, 21 Sep 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 20 Sep 2006 23:59:40 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-20 Michael Snyder <michael.snyder@localhost.localdomain>
msnyder [Wed, 20 Sep 2006 22:56:34 +0000 (22:56 +0000)]
2006-09-20  Michael Snyder  <michael.snyder@localhost.localdomain>

* abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
Remove unused / obsolete files.

17 years ago * doc/as.texinfo: Fix cross reference usage, typos and grammar.
bwilson [Wed, 20 Sep 2006 21:25:10 +0000 (21:25 +0000)]
    * doc/as.texinfo: Fix cross reference usage, typos and grammar.
        (Overview): Skip cross reference in man page.

17 years ago PR remote/2154
drow [Wed, 20 Sep 2006 19:13:01 +0000 (19:13 +0000)]
PR remote/2154
* remote.c (remote_thread_alive): Remove local buf.
(remote_get_threadinfo): Remove local threadinfo_pkt.
(remote_get_threadlist): Remove unused threadlist_packet.
(remote_current_thread): Remove local buf.
(remote_threads_info): Set bufp after getpkt.
(remote_threads_extra_info): Remove local bufp.
(get_offsets): Set buf after getpkt.
(remote_check_symbols): Set reply after getpkt.
(remote_vcont_probe): Set buf after getpkt.
(remote_resume): Set buf after set_thread.
(remote_wait, remote_async_wait): Set buf after getpkt.
(fetch_register_using_p): Set buf after remote_send.
(remote_fetch_registers): Likewise.
(store_register_using_P): Don't use buf after remote_send.
(check_binary_download, remote_write_bytes)
(remote_read_bytes, remote_rcmd): Remove local buf.

17 years ago * elf32-s390.c (elf_s390_relocate_section): Remove check for code
sky [Wed, 20 Sep 2006 14:38:17 +0000 (14:38 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Remove check for code
section in LD to LE linker relaxation for R_390_TLS_LDO32.
* elf64-s390.c (elf_s390_relocate_section): Likewise for
R_390_TLS_LDO64.

17 years ago * configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
ths [Wed, 20 Sep 2006 12:33:49 +0000 (12:33 +0000)]
* configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
for mipstx39-*-*. Disable libgloss for mips64*-*-linux*.
* configure: Regenerate.

17 years agoAdd x86_64-mingw64 target
nickc [Wed, 20 Sep 2006 11:35:07 +0000 (11:35 +0000)]
Add x86_64-mingw64 target

17 years ago*** empty log message ***
gdbadmin [Wed, 20 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 19 Sep 2006 23:59:41 +0000 (23:59 +0000)]
daily update

17 years ago * Makefile.in: Change all instances of configure.in to refer to
kseitz [Tue, 19 Sep 2006 19:14:32 +0000 (19:14 +0000)]
    * Makefile.in: Change all instances of configure.in to refer to
        configure.ac.

17 years ago2006-09-19 Dave Brolley <brolley@redhat.com>
brolley [Tue, 19 Sep 2006 18:40:56 +0000 (18:40 +0000)]
2006-09-19  Dave Brolley  <brolley@redhat.com>

        * commonCfg.cxx (MemCfg::set_size): Use make_numeric_attribute and pass
        std::ios::hex.
        (MapperCfg::map): Likewise.

17 years ago From Andrew Stubbs <andrew.stubbs@st.com>:
kseitz [Tue, 19 Sep 2006 18:39:38 +0000 (18:39 +0000)]
    From Andrew Stubbs  <andrew.stubbs@st.com>:
        * library/prefs.tcl (pref_save): Save preferences if
        INSIGHT_FORCE_READ_PREFERENCES is set in the environment.

17 years ago * gas/bfin/load.s, gas/bfin/load.d: Add constant folding tests.
bernds [Tue, 19 Sep 2006 09:27:31 +0000 (09:27 +0000)]
* gas/bfin/load.s, gas/bfin/load.d: Add constant folding tests.

17 years ago * mingwex/mb_wc_common.h (get_codepage): Get it
dannysmith [Tue, 19 Sep 2006 09:09:57 +0000 (09:09 +0000)]
* mingwex/mb_wc_common.h (get_codepage): Get it
from __lc_codepage.

17 years ago*** empty log message ***
gdbadmin [Tue, 19 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 18 Sep 2006 23:59:42 +0000 (23:59 +0000)]
daily update

17 years agoInclude __kernel_vsyscall in regexp.
nickrob [Mon, 18 Sep 2006 21:17:07 +0000 (21:17 +0000)]
Include __kernel_vsyscall in regexp.

17 years ago*** empty log message ***
nickrob [Mon, 18 Sep 2006 21:16:42 +0000 (21:16 +0000)]
*** empty log message ***

17 years ago * config/bfin-parse.y (binary): Change sub of const to add of negated
bernds [Mon, 18 Sep 2006 20:13:22 +0000 (20:13 +0000)]
* config/bfin-parse.y (binary): Change sub of const to add of negated
const.

17 years ago * ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
ths [Mon, 18 Sep 2006 18:21:42 +0000 (18:21 +0000)]
* ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
* ld-mips-elf/reloc-3-n32.d, ld-mips-elf/reloc-3.d: New files.

17 years ago * ld-elfcomm/elfcomm.exp: Enable the alignment test for
ths [Mon, 18 Sep 2006 14:41:10 +0000 (14:41 +0000)]
* ld-elfcomm/elfcomm.exp: Enable the alignment test for
mips*-*-*.

17 years ago * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
ths [Mon, 18 Sep 2006 13:18:44 +0000 (13:18 +0000)]
* configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
configurations.

17 years ago*** empty log message ***
gdbadmin [Mon, 18 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 17 Sep 2006 23:59:41 +0000 (23:59 +0000)]
daily update

17 years ago* byteorder.h: Correct typo.
cgf [Sun, 17 Sep 2006 23:22:10 +0000 (23:22 +0000)]
* byteorder.h: Correct typo.

17 years ago* byteorder.h: Don't #define n* macros if -fnoinline is specified.
cgf [Sun, 17 Sep 2006 22:34:44 +0000 (22:34 +0000)]
* byteorder.h: Don't #define n* macros if -fnoinline is specified.

17 years ago * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
dannysmith [Sun, 17 Sep 2006 22:27:56 +0000 (22:27 +0000)]
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others.

17 years ago * elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
hp [Sun, 17 Sep 2006 18:57:43 +0000 (18:57 +0000)]
* elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
for .stabstr entry, explain why.

17 years agoFix grammar.
vprus [Sun, 17 Sep 2006 17:05:27 +0000 (17:05 +0000)]
Fix grammar.

17 years ago * gdb.texinfo (GDB/MI Stack Manipulation): Mention that
vprus [Sun, 17 Sep 2006 17:03:50 +0000 (17:03 +0000)]
* gdb.texinfo (GDB/MI Stack Manipulation): Mention that
-stack-list-arguments HIGH_FRAME argument can be larger then the
actual number of frames.

17 years ago * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
vprus [Sun, 17 Sep 2006 15:49:32 +0000 (15:49 +0000)]
* gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
HIGH_FRAME argument to -stack-list-arguments can be larger than
        the number of frames.

17 years agoFix grammar
vprus [Sun, 17 Sep 2006 15:48:34 +0000 (15:48 +0000)]
Fix grammar

17 years ago * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
vprus [Sun, 17 Sep 2006 15:45:50 +0000 (15:45 +0000)]
* mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
if high requested frame number is larger then number of available
frames.

17 years agoFix typo in use of CONST_STRNEQ
nickc [Sun, 17 Sep 2006 14:38:51 +0000 (14:38 +0000)]
Fix typo in use of CONST_STRNEQ

17 years agoAdd Score test files
nickc [Sun, 17 Sep 2006 14:24:56 +0000 (14:24 +0000)]
Add Score test files

17 years ago * dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir table
amodra [Sun, 17 Sep 2006 02:44:38 +0000 (02:44 +0000)]
* dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir table
entry isn't absolute.

17 years ago*** empty log message ***
gdbadmin [Sun, 17 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 16 Sep 2006 23:59:43 +0000 (23:59 +0000)]
daily update

17 years agoAdd support for Score target.
nickc [Sat, 16 Sep 2006 23:51:49 +0000 (23:51 +0000)]
Add support for Score target.

17 years ago* bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its
nickc [Sat, 16 Sep 2006 18:12:13 +0000 (18:12 +0000)]
* bfd-in.h (STRING_AND_COMMA): New macro.  Takes one constant string as its
  argument and emits the string followed by a comma and then the length of
  the string.
  (CONST_STRNEQ): New macro.  Checks to see if a variable string has a constant
  string as its initial characters.
  (CONST_STRNCPY): New macro.  Copies a constant string to the start of a
  variable string.
* bfd-in2.h: Regenerate.
* <remainign files>: Make use of the new macros.

17 years ago2006-09-16 Paul Brook <paul@codesourcery.com>
pbrook [Sat, 16 Sep 2006 16:24:28 +0000 (16:24 +0000)]
2006-09-16  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_arm_unwind_movsp): Add offset argument.
* doc/c-arm.texi (movsp): Document offset argument.

gas/testsuite/
* gas/arm/unwind.s: Test two argument form of .movsp.
* gas/arm/unwind.d: Update expected output.
* gas/arm/unwind_vxworks.d: Ditto.