aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-09-22merge from gccDJ Delorie3-0/+13
2006-09-22 * config/tc-ppc.c (ppc_symbol_chars): Remove '+' and '-'.Alan Modra2-4/+6
2006-09-22 * remote.c (remote_write_bytes_aux): Doc fix.Daniel Jacobowitz2-2/+4
2006-09-22 * elfcode.h (elf_swap_symbol_in): Return bfd_boolean. Don't abortAlan Modra5-8/+29
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.
2006-09-22 * as.h (as_perror): Delete declaration.Alan Modra11-73/+43
* 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.
2006-09-22 * config/tc-ppc.c (md_section_align): Don't round up address for ELF.Alan Modra3-29/+60
(ppc_handle_align): New function. * config/tc-ppc.h (HANDLE_ALIGN): Use ppc_handle_align. (SUB_SEGMENT_ALIGN): Define as zero.
2006-09-22*** empty log message ***gdbadmin1-1/+1
2006-09-21daily updateAlan Modra1-1/+1
2006-09-21New drop, with first cut of section layout code.Ian Lance Taylor19-164/+1472
2006-09-21 * remote-utils.c (try_rle): New function.Daniel Jacobowitz2-5/+52
(putpkt_binary): Use it.
2006-09-21 * gdb.texinfo (Packets): Document vFlashErase,Daniel Jacobowitz2-0/+165
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.
2006-09-21 * Makefile.in (SFILES): Add target-memory.c.Daniel Jacobowitz8-111/+968
(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.
2006-09-21gdb/Daniel Jacobowitz15-24/+875
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".
2006-09-21 * ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)Daniel Jacobowitz4-62/+110
(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.
2006-09-21 * Makefile.in (memattr_h, memattr.o): Update.Daniel Jacobowitz4-67/+100
* 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.
2006-09-212006-09-21 Nathan Sidwell <nathan@codesourcery.com>Daniel Jacobowitz6-2/+1312
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.
2006-09-21 * ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bitAndreas Schwab2-4/+9
hosts.
2006-09-21Fix identity in ChangeLog.Michael Snyder1-1/+1
2006-09-21*** empty log message ***gdbadmin1-1/+1
2006-09-20daily updateAlan Modra1-1/+1
2006-09-202006-09-20 Michael Snyder <michael.snyder@localhost.localdomain>Michael Snyder6-128/+5
* abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp: Remove unused / obsolete files.
2006-09-20 * doc/as.texinfo: Fix cross reference usage, typos and grammar.Bob Wilson2-49/+60
(Overview): Skip cross reference in man page.
2006-09-20 PR remote/2154Daniel Jacobowitz2-62/+82
* 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.
2006-09-20 * elf32-s390.c (elf_s390_relocate_section): Remove check for codeMartin Schwidefsky3-2/+9
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.
2006-09-20 * configure.in: Remove redundant handling of mips*-dec-bsd*. LikewiseThiemo Seufer3-149/+143
for mipstx39-*-*. Disable libgloss for mips64*-*-linux*. * configure: Regenerate.
2006-09-20Add x86_64-mingw64 targetNick Clifton78-156/+3805
2006-09-20*** empty log message ***gdbadmin1-1/+1
2006-09-19daily updateAlan Modra1-1/+1
2006-09-19 * gas/bfin/load.s, gas/bfin/load.d: Add constant folding tests.Bernd Schmidt3-69/+79
2006-09-19*** empty log message ***gdbadmin1-1/+1
2006-09-18daily updateAlan Modra1-1/+1
2006-09-18Include __kernel_vsyscall in regexp.Nick Roberts1-1/+2
2006-09-18*** empty log message ***Nick Roberts1-0/+4
2006-09-18 * config/bfin-parse.y (binary): Change sub of const to add of negatedBernd Schmidt2-0/+11
const.
2006-09-18 * ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.Thiemo Seufer4-0/+44
* ld-mips-elf/reloc-3-n32.d, ld-mips-elf/reloc-3.d: New files.
2006-09-18 * ld-elfcomm/elfcomm.exp: Enable the alignment test forThiemo Seufer2-7/+17
mips*-*-*.
2006-09-18 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*Thiemo Seufer2-0/+9
configurations.
2006-09-18*** empty log message ***gdbadmin1-1/+1
2006-09-17daily updateAlan Modra1-1/+1
2006-09-17 * elf.c (special_sections_s): Revert last STRING_COMMA_LEN changeHans-Peter Nilsson2-1/+8
for .stabstr entry, explain why.
2006-09-17Fix grammar.Vladimir Prus1-1/+1
2006-09-17 * gdb.texinfo (GDB/MI Stack Manipulation): Mention thatVladimir Prus2-2/+12
-stack-list-arguments HIGH_FRAME argument can be larger then the actual number of frames.
2006-09-17 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test thatVladimir Prus2-0/+10
HIGH_FRAME argument to -stack-list-arguments can be larger than the number of frames.
2006-09-17Fix grammarVladimir Prus1-1/+1
2006-09-17 * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit errorVladimir Prus2-3/+7
if high requested frame number is larger then number of available frames.
2006-09-17Fix typo in use of CONST_STRNEQNick Clifton1-1/+1
2006-09-17Add Score test filesNick Clifton31-0/+2247
2006-09-17 * dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir tableAlan Modra2-10/+37
entry isn't absolute.
2006-09-17*** empty log message ***gdbadmin1-1/+1
2006-09-16daily updateAlan Modra1-1/+1