aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-12 * gdb.cp/member-ptr.cc (class Padding): Make contents public.Daniel Jacobowitz2-0/+5
2007-01-122076-01-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+5
* Makefile.am (BFD_LIBS): Removed. * Makefile.in: Regenerated.
2007-01-12revert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>Nathan Sidwell22-132/+57
* lib/gdb.exp (gdb_compile_test): New. (skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.
2007-01-12PR gas/3856Nick Clifton2-2/+18
* macro.c (expand_irp): Do not ignore spaces inside quoted strings.
2007-01-12missed from last commitAlan Modra1-0/+9
2007-01-12 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.Alan Modra4-34/+15
* config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. (TC_FORCE_RELOCATION): Define. (TC_FORCE_RELOCATION_LOCAL): Define. * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2007-01-122076-01-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-19/+32
PR binutils/3631 * Makefile.am (OFILES): Add @bfd64_libs@. (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). * Makefile.in: Regenerated. * configure.in (bfd_libs): Replaced by ... (bfd64_libs): This. * configure: Regenerated.
2007-01-12 * input-file.c (input_file_open): Check fgets return.Alan Modra2-4/+8
2007-01-12 * ar.c (open_inarch): Check fwrite return. Use size_t.Alan Modra3-14/+19
(extract_file): Likewise. Remove test for "negative" file size. * readelf.c (process_program_headers): Check fscanf return.
2007-01-12 * pex-unix.c (writeerr): Cast write result to void.Ben Elliston2-1/+3
2007-01-12 * ld-elf/header.d: Allow arbitrary lines between "Program Header"Hans-Peter Nilsson2-1/+7
and "Sections". Only run on *-*-linux*.
2007-01-12merge from gccDJ Delorie1-1/+1
2007-01-12 * choose-temp.c (choose_temp_base): Check the result of the callBen Elliston2-2/+6
to mktemp rather than testing the length of the modified string.
2007-01-12*** empty log message ***gdbadmin1-1/+1
2007-01-112007-01-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* bucomm.c (template_in_dir): Fix typo.
2007-01-11daily updateAlan Modra1-1/+1
2007-01-11* config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.Mark Kettenis2-3/+4
2007-01-11Move ChangeLog entry to the right placeVladimir Prus2-11/+11
2007-01-11 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtraceUlrich Weigand2-0/+11
past entry function with recent newlib.
2007-01-11 * gdb.mi/mi-var-cp.cc (reference_update_tests):Vladimir Prus2-2/+10
Make sure the variable we're using is in scope. (reference_to_pointer): Likewise.
2007-01-11 * gdb.texinfo (GDB/MI Variable Objects): Improve theVladimir Prus2-26/+58
introduction. Specify -var-update more exactly.
2007-01-11 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.Daniel Jacobowitz2-3/+14
2007-01-112007-01-11 Paul Brook <paul@codesourcery.com>Paul Brook5-2/+15
gas/ * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. gas/testsuite/ * gas/arm/thumb2_add.d: Add test for missing operand. * gas/arm/thumb2_add.s: Ditto.
2007-01-112007-01-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-14/+29
* configure.in: Change == to = in test command. * configure: Regenerate. 2007-01-11 Paolo Bonzini <bonzini@gnu.org> * warnings.m4: Use m4_expand_once to clear the AC_SUBST'ed variable. (ACX_PROG_CC_WARNINGS_ARE_ERRORS): Fix typo. Add optional 2nd argument.
2007-01-11PR gas/3707Nick Clifton2-2/+6
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.
2007-01-112007-01-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2-11/+20
* config/warnings.m4: Add second parameter with name of variable. Always append to the variable if it exists.
2007-01-11bfd/Nathan Sidwell8-2/+56
* elf.c (assign_file_positions_for_load_sections): We can require fewer phdrs than expected. ld/ * emultempl/elf-generic.em (gdl_map_segments): Only allow header shrinkage for the first few iterations. ld/testsuite/ * ld-elf/header.d: New. * ld-elf/header.t: New. * ld-elf/header.s: New.
2007-01-11* gas/mcore/allinsn.s: Remove use of '#' before numbers - it is a line ↵Nick Clifton3-137/+139
comment character. * gas/mcore/allinsn.d: Adjust expected disassembly to match real output.
2007-01-11 * lib/gdb.exp (gdb_compile_test): New.Nathan Sidwell22-57/+132
(skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.
2007-01-112007-01-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-380/+2394
Nick Clifton <nickc@redhat.com> Kaveh R. Ghazi <ghazi@caip.rutgets.edu> * configure.in (build_configargs, host_configargs, target_configargs): Remove build/host/target parameters. (host_libs): Add gmp and mpfr. (GMP tests): Reorganize to allow in-tree GMP/MPFR. * Makefile.def (gmp, mpfr): New. (gcc): Remove target. * Makefile.tpl (build_os, build_vendor, host_os, host_vendor, target_os, target_vendor): New. (configure): Add host_alias/target_alias arguments. Adjust invocations. * configure: Regenerate. * Makefile.in: Regenerate. 2007-01-11 Matt Fago <fago@earthlink.net> * configure.in: Try to link to functions only in mpfr 2.2.x to improve robustness of configure tests. * configure: Regenerate.
2007-01-11Run the alternative version of the lns-common-1 test for the MCore target.Nick Clifton2-2/+11
2007-01-11* config/tc-mcore.c (md_number_to_chars): Use ↵Nick Clifton2-18/+9
number_to_chars_{big|little}endian.
2007-01-11 * embedspu.sh: New file.Alan Modra6-6/+212
* Makefile.am (embedspu): Add rule. * configure.in (BUILD_MISC): Add embedspu for powerpc-linux. * Makefile.in: Regenerate. * configure: Regenerate.
2007-01-11*** empty log message ***gdbadmin1-1/+1
2007-01-10daily updateAlan Modra1-1/+1
2007-01-10gdb/ChangeLog:Jim Blandy2-0/+6
2007-01-10 Jim Blandy <jimb@codesourcery.com> * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted the Global Maintainers' invitation to be a global maintainer.
2007-01-10 * infrun.c (singlestep_pc): New variable.Daniel Jacobowitz2-5/+70
(resume): Set singlestep_pc. (context_switch): Add a debugging message. Flush the frame cache. (handle_inferior_event): Add debugging messages. Handle thread hops when a software single step has completed. Let context_switch handle flushing the frame cache.
2007-01-10 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.Alan Modra4-95/+71
* bucomm.c (template_in_dir): New function, split out from.. (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP. (make_tempdir): Use template_in_dir. Handle directory creation when !HAVE_MKDTEMP. * objcopy.c (MKDIR): Don't define. (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix error message.
2007-01-10Add changelog entries for copyright updates.Daniel Jacobowitz3-0/+12
2007-01-10 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtimeDaniel Jacobowitz2-3/+18
has no debug information.
2007-01-10 * gdb.base/annota1.exp: Remove extra send_gdb.Daniel Jacobowitz2-1/+4
2007-01-10*** empty log message ***gdbadmin1-1/+1
2007-01-09daily updateAlan Modra1-1/+1
2007-01-09Missed file from last commit.Daniel Jacobowitz1-0/+9
2007-01-09XML feature description support.Daniel Jacobowitz19-13/+850
* NEWS: Mention target descriptions, "set tdesc filename", "unset tdesc filename", "show tdesc filename", and qXfer:features:read. * arch-utils.c (choose_architecture_for_target): New function. (gdbarch_info_fill): Call it. * target-descriptions.c (struct property): Make members non-const. (struct target_desc): Add arch member. (target_description_filename): New variable. (target_find_description): Try via XML first. (tdesc_architecture): New. (free_target_description, make_cleanup_free_target_description): New. (set_tdesc_property): Call xstrdup. (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) (show_tdesc_filename_cmd, _initialize_target_descriptions): New. * target-descriptions.h (tdesc_architecture) (make_cleanup_free_target_description, set_tdesc_architecture): New prototypes. * Makefile.in (SFILES): Add xml-tdesc.c. (COMMON_OBS): Add xml-tdesc.o. (target-descriptions.o): Update. (xml-tdesc.o): New rule. * xml-tdesc.c, xml-tdesc.h: New files. * remote.c (PACKET_qXfer_features): New enum. (remote_protocol_features): Add qXfer:features:read. (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. (_initialize_remote): Register qXfer:features:read. * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. * features/gdb-target.dtd: New file. * linux-i386-low.c (the_low_target): Set arch_string. * linux-x86-64-low.c (the_low_target): Likewise. * linux-low.c (linux_arch_string): New. (linux_target_ops): Add it. * linux-low.h (struct linux_target_ops): Add arch_string. * server.c (write_qxfer_response): Use const void * for DATA. (get_features_xml): New. (handle_query): Handle qXfer:features:read. Report it for qSupported. * target.h (struct target_ops): Add arch_string method. * gdb.texinfo (Target Descriptions): New section. (General Query Packets): Add QPassSignals anchor. Mention qXfer:features:read under qSupported. Expand mentions of qXfer:memory-map:read and QPassSignals. Document qXfer:features:read.
2007-01-09 * copyright.sh: Clarify error.Daniel Jacobowitz2-1/+5
2007-01-092007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>Daniel Jacobowitz5-1/+121
* symtab.c (matching_bfd_sections): Fix VMA matching for prelinked objects. * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
2007-01-092007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>Daniel Jacobowitz5-0/+154
* minsyms.c (lookup_minimal_symbol_by_pc_section): Handle nested symbols. * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
2007-01-09 * copyright.sh (prunes): Add step-line.inp and step-line.c.Daniel Jacobowitz4-3/+12
2007-01-09 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir insideDaniel Jacobowitz7-10/+133
exec_prefix. (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being '${prefix}'. * configure, config.in: Regenerate. * defs.h (debug_file_directory): Declare. * main.c (captured_main): Canonicalize gdb_sysroot. Assume TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and relocate it if DEBUGDIR_RELOCATABLE. * symfile.c (debug_file_directory): Make non-static. (find_separate_debug_file): Look for debug info for SYSROOT/PATH in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. (_initialize_symfile): Don't initialize debug_file_directory here.