aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-16rename.c (simple_copy): Only define if it is going to be used.Nick Clifton3-2/+13
(smart_rename): Mark the preserve_dates parameter as possibly being unused. resres.c (write_res_data): Prevent a potential compile time warning by casting the return value from fwrite.
2005-06-16* archive.c: Include "libiberty.h".Mark Kettenis2-0/+5
2005-06-16*** empty log message ***gdbadmin1-1/+1
2005-06-16daily updateAlan Modra1-1/+1
2005-06-15Fix my e-mail address in previous commit.Mark Kettenis1-1/+1
2005-06-15* hppa-hpux-nat.c (hppa_hpux_fetch_register)Mark Kettenis2-5/+11
(hppa_hpux_store_register): Add casts in extract_unsigned_integer and store_usigned_integer calls.
2005-06-152005-06-15 Dave Brolley <brolley@redhat.com>Dave Brolley13-8/+5973
Contribute Morpho ms1 on behalf of Red Hat * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h: New files, Morpho ms1 target. 2004-05-14 Stan Cox <scox@redhat.com> * disassemble.c (ARCH_ms1): Define. (disassembler): Handle bfd_arch_ms1 2004-05-13 Michael Snyder <msnyder@redhat.com> * Makefile.am, Makefile.in: Add ms1 target. * configure.in: Ditto.
2005-06-152005-06-15 Dave Brolley <brolley@redhat.com>Dave Brolley3-0/+1692
Contributed by Red Hat. * ms1.cpu: New file. Written by Nick Clifton, Stan Cox. * ms1.opc: New file. Written by Stan Cox.
2005-06-15* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by theNick Clifton2-0/+6
GreenHills toolchain can be assimilated.
2005-06-15 * som.c (som_find_inliner_info): New.Dave Anglin2-0/+5
2005-06-15daily updateAlan Modra1-1/+1
2005-06-15*** empty log message ***gdbadmin1-1/+1
2005-06-14* configure.ac: Simplify and improve check for socklen_t.Mark Kettenis4-35/+62
* configure, config.in: Regenerate.
2005-06-14 PR libgcj/19877:Tom Tromey2-1/+7
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'.
2005-06-14Fix typo.Mark Kettenis1-1/+1
2005-06-142005-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* elflink.c (_bfd_elf_merge_symbol): Fix a typo in comment.
2005-06-142005-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-20/+165
PR 995 * ar.c (BUFSIZE): Moved to ... * bucomm.h (BUFSIZE): Here. * bucomm.c: Include <assert.h>. (bfd_get_archive_filename): New. * bucomm.h (bfd_get_archive_filename): New. * objcopy.c (copy_unknown_object): New. (copy_object): Use bfd_get_archive_filename when reporting input error. Don't call fatal on unknown arch. (copy_archive): Call copy_unknown_object on unknown format or arch.
2005-06-14 * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.Jakub Jelinek2-139/+323
(get_data): Add nmemb argument. Return NULL if nmemb * size overflows. If var == NULL, allocate one extra byte and clear it. (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers, get_64bit_program_headers, get_program_headers, get_32bit_section_headers, get_64bit_section_headers, get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers, process_section_groups, process_relocs, slurp_ia64_unwind_table, ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind, get_32bit_dynamic_section, get_64bit_dynamic_section, process_dynamic_section, process_version_sections, get_dynamic_data, process_symbol_table, dump_section, load_debug_str, load_debug_loc, load_debug_range, read_and_display_attr_value, process_debug_info, get_debug_info, frame_need_space, display_debug_frames, display_debug_section, process_mips_specific, process_gnu_liblist, process_corefile_note_segment): Adjust get_data callers. Use cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where passed size is a product of 2 numbers. * readelf.c (print_mode): Fix comment typo. (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks. (dump_relocations): Fix a thinko in check for invalid st_name. (process_program_headers): Don't crash if string_table is NULL. (process_section_headers): Don't crash if e_shstrndx is invalid. Ensure string_table_length is 0 if string_table == NULL. Don't return just because string_table is NULL. (process_section_groups): Don't crash if symtab's sh_link or symbol's st_name is invalid. Fix a memory leak. Fix check for invalid section number entry. (process_relocs): Don't crash if relocation or symbol section's sh_link is invalid. (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if relocation section's sh_info is invalid. (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol table's sh_link is invalid. (process_version_sections): Don't crash on version or symbol section's sh_link is invalid. Don't crash if symbol's st_shndx is invalid. (process_symbol_table): Don't crash if string table is corrupt or symbol's st_name, st_shndx, vna_name or vda_name is invalid. (debug_apply_rela_addends): Don't crash if relocation section's sh_info or sh_link is invalid. (display_debug_loc): Warn for unterminated .debug_loc section or start offsets not within .debug_loc section boundaries. (process_gnu_liblist): Don't crash if liblist section's sh_link or entry's l_name is invalid.
2005-06-14 * elf.c (bfd_section_from_shdr): Fail if name is NULL.Jakub Jelinek3-0/+22
Prevent endless recursion on broken objects. * archive.c (do_slurp_coff_armap): Check for overflows.
2005-06-14*** empty log message ***gdbadmin1-1/+1
2005-06-14daily updateAlan Modra1-1/+1
2005-06-13(mi_cmd_data_list_register_values): Remove test forNick Roberts1-6/+0
registers now that mi_execute_command rewinds after an error.
2005-06-13*** empty log message ***Nick Roberts1-0/+5
2005-06-13* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.Mark Kettenis4-76/+71
* configure, config.in: Regenerate.
2005-06-13* ser-tcp.c: Tewak comment.Mark Kettenis5-2/+89
[!HAVE_SOCKLEN_T]: Typedef socklen_t. * configure.ac: Add check for socklen_t. * configure, config.in: Regenerate.
2005-06-132005-06-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
2005-06-13 * MAINTAINERS: Update my email address.Richard Sandiford2-1/+5
2005-06-13 * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.Mark Mitchell7-6/+19
* exec.c (exec_file_attach): Likewise. * solib-frv.c (enable_break2): Likewise. * solib-svr4.c (enable_break): Likewise. * solib.c (solib_map_sections): Likewise. * symfile.c (symfile_bfd_open): Likewise.
2005-06-13 * gdb.base/bigcore.exp: Correct checks for systems which canDaniel Jacobowitz2-2/+15
not dump a large core file.
2005-06-13* depstand.m4, lead-dot.m4: New files.DJ Delorie3-0/+172
2005-06-13* depcomp: Update from automake CVS. Add 'ia64hp' stanza.DJ Delorie2-26/+62
In 'cpp' stanza, support '#line' as well as '# '.
2005-06-13gdb/Daniel Jacobowitz8-7/+168
* Makefile.in (symfile.o): Add $(exec_h). * exec.h (exec_set_section_address): Add prototype. * exec.c (exec_set_section_address): New function. * symfile.c: Include "exec.h". (struct place_section_arg, place_section): New. (default_symfile_offsets): Call place_section for each section of a relocatable file. gdb/testsuite/ * gdb.base/relocate.c: Add a copyright notice. (dummy): Remove. * gdb.base/relocate.exp: Test printing the values of variables from a relocatable file.
2005-06-13gas:Zack Weinberg7-106/+83
* config/tc-arm.c (find_real_start): Check S_IS_LOCAL on symbolP as well as for names with a leading dot. Use ACONCAT. (md_apply_fix): For branch relocations, only replace value with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done. (arm_force_relocation): Remove #ifdef OBJ_ELF case. * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses. (LOCAL_LABEL_PREFIX): Don't define. gas/testsuite: * gas/arm/thumb.s: Only branch to labels defined in this file. * gas/arm/thumb.d, gas/arm/thumb32.d: Adjust expected output.
2005-06-13 * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test allJoel Brobecker2-1/+6
bits of top byte in address.
2005-06-13 * eval.c (evaluate_subexp_standard): Add code to check the targetWu Zhou2-0/+25
type of a TYPE_CODE_PTR value when we encounter a f77 undetermined arglist. If it is array, string or function, work on the target value instead.
2005-06-13gdb/Daniel Jacobowitz5-9/+22
* mi/mi-main.c (register_changed_p, get_register): Use get_selected_frame. (mi_execute_command): Call mi_out_rewind after an error. testsuite/ * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect excess MI output after an error.
2005-06-13 * acconfig.h: Remove.Daniel Jacobowitz28-135/+284
* configure.ac: Add a test for socklen_t. Use three-argument AC_DEFINE throughout. * config.in: Regenerated using autoheader 2.59. * configure: Regenerated. * gdbreplay.c (socklen_t): Provide a default. (remote_open): Use socklen_t. * remote-utils.c (socklen_t): Provide a default. (remote_open): Use socklen_t. (convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use unsigned char. * i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned char for buffers. * linux-low.c (linux_read_memory, linux_write_memory) (linux_read_auxv): Likewise. * mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read) (check_mem_write): Likewise. * mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write): Likewise. * regcache.c (struct inferior_rgcache_data, registers_to_string) (registers_from_string, register_data): Likewise. * server.c (handle_query, main): Likewise. * server.h (convert_ascii_to_int, convert_int_to_ascii) (decode_M_packet): Likewise. * target.c (read_inferior_memory, write_inferior_memory): Likewise. * target.h (struct target_ops): Update read_memory, write_memory, and read_auxv. (read_inferior_memory, write_inferior_memory): Update. * linux-low.h (struct linux_target_ops): Change type of breakpoint to unsigned char *. * linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c, linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c, linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c, linux-s390-low.c, linux-sh-low.c: Update for changes in read_inferior_memory and the_low_target->breakpoint.
2005-06-13daily updateAlan Modra1-1/+1
2005-06-13*** empty log message ***gdbadmin1-1/+1
2005-06-12* hppa-tdep.c (hppa_frame_prev_register)Mark Kettenis2-19/+28
(hppa_fallback_frame_prev_register) (hppa_stub_frame_prev_register): Change type of last argument to `gdb_byte *'. (hppa_fetch_pointer_argument): Tweak comment. Use get_frame_register_unsigned instead of get_frame_register. (hppa32_return_value, hppa64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Remove unecessary casts and local variables. (hppa_pseudo_register_read): Change type of last argument to `gdb_byte *'.
2005-06-12 * ld.texinfo (Command Line Options): Add @item for --hash-size.Daniel Jacobowitz2-0/+5
2005-06-12* m68k-tdep.c (m68k_frame_prev_register): Change type of lastMark Kettenis2-1/+4
argument to `gdb_byte *'.
2005-06-12* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):Mark Kettenis2-2/+5
Consitify regnames.
2005-06-12* alpha-tdep.c (alpha_sigtramp_frame_prev_register)Mark Kettenis3-7/+14
(alpha_heuristic_frame_prev_register): Change type of last argument to `gdb_byte *'. (alpha_register_to_value, alpha_value_to_register) (alpha_extract_return_value, alpha_store_return_value): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2005-06-12* arm-tdep.c (arm_prologue_prev_register)Mark Kettenis2-2/+6
(arm_sigtramp_prev_register): Change type of last argument to `gdb_byte *'.
2005-06-12* m88k-tdep.c (m88k_frame_prev_register): Change type of lastMark Kettenis2-1/+4
argument to `gdb_byte *'.
2005-06-12* vax-tdep.c (vax_frame_prev_register): Change type of lastMark Kettenis2-1/+4
argument to `gdb_byte *'.
2005-06-12* sparc-tdep.c (sparc32_frame_prev_register): Change type of lastMark Kettenis10-9/+25
argument to `gdb_byte *'. * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register): Likewise. * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise. * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register): Likewise. * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register): Likewise. * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register): Likewise. * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise. * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Likewise.
2005-06-12* amd64-tdep.c (amd64_frame_prev_register)Mark Kettenis2-2/+8
(amd64_sigtramp_frame_prev_register): Change type of last argument to `gdb_byte *'.
2005-06-12*** empty log message ***gdbadmin1-1/+1