aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2007-01-09* score-tdep.c (score_push_dummy_call): Don't mix declarations andJim Blandy2-3/+9
statements.
2007-01-09 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): UseDaniel Jacobowitz6-14/+43
frame_unwind_register to recurse. * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. (alpha_heuristic_frame_prev_register): Likewise. * h8300-tdep.c (h8300_frame_prev_register): Likewise. * m32c-tdep.c (m32c_prev_register): Likewise. * frame.c (frame_register_unwind_location): Remove FIXME.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1553-1902/+1845
2007-01-09Move 2006 ChangeLog entries to ChangeLog-2006.H.J. Lu4-2365/+2381
2007-01-09 * copyright.sh: New file.Daniel Jacobowitz2-0/+167
2007-01-09 * configure.ac: Check for XML_StopParser.Daniel Jacobowitz5-0/+129
* xml-support.c (gdb_xml_body_text): Check for an error. (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. (gdb_xml_end_element_wrapper): Likewise. * config.in, configure: Regenerated.
2007-01-09Move 2006 ChangeLog entries to ChangeLog-2006.H.J. Lu8-6373/+6405
2007-01-09* Makefile.tpl (all-target): Correct @if conditional for target modules.Nick Clifton5-123/+139
* configure.in: Omit libiberty if building only target libgcc. * configure, Makefile.in: Regenerated.
2007-01-09Mention that the top level configure file has been regenerated.Nick Clifton1-0/+1
2007-01-09oops - omitted from previous deltaNick Clifton1-153/+146
2007-01-09* configure.in: Add support for an x86_64-mingw* target.Nick Clifton2-0/+13
* configure: Regenerate.
2007-01-09*** empty log message ***gdbadmin1-1/+1
2007-01-08 * varobj.c (install_new_value): Always update print_value.Daniel Jacobowitz5-12/+51
(value_get_print_value): Immediately return NULL for missing values. * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when lcharacter or linteger change. Correct duplicated test name. * gdb.mi/mi2-var-cmd.exp: Likewise.
2007-01-08daily updateAlan Modra1-1/+1
2007-01-08* configure.ac: Tighten pattern for extracting value ofJim Blandy3-2/+8
DEPRECATED_TM_FILE from the target makefile fragment. * configure: Regenerated.
2007-01-08 * linux-nat.c (struct simple_pid_list): Add status.Daniel Jacobowitz6-102/+257
(add_to_pid_list): Record the PID's status. (linux_record_stopped_pid): Likewise. Make static. (pull_pid_from_list): Return the saved status. (linux_nat_handle_extended): Deleted. (linux_handle_extended_wait): Combine with linux_nat_handle_extended. Make static. Handle non-SIGSTOP for a new thread's first signal. (flush_callback): Handle unexpected pending signals. (linux_nat_wait): Update calls to changed functions. * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): Remove prototypes for newly static functions. * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
2007-01-08 * gdbarch.sh (value_from_register): New gdbarch function.Ulrich Weigand8-80/+122
* gdbarch.c, gdbarch.h: Regenerate. * findvar.c (default_value_from_register): New function. (value_from_register): Use gdbarch_value_from_register. * value.h (default_value_from_register): Declare. * spu-tdep.c (spu_convert_register_p, spu_register_to_value, spu_value_to_register): Remove. (spu_value_from_register): New function. (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, set_gdbarch_register_to_value, set_gdbarch_value_to_register. Call set_gdbarch_value_from_register. * s390-tdep.c (s390_convert_register_p, s390_register_to_value, s390_value_to_register): Remove. (s390_value_from_register): New function. (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, set_gdbarch_register_to_value, set_gdbarch_value_to_register. Call set_gdbarch_value_from_register.
2007-01-08 * NEWS: Add "set sysroot" and "show sysroot".Daniel Jacobowitz5-57/+98
* solib.c (solib_absolute_prefix): Delete. Replace all uses with gdb_sysroot. (_initialize_solib): Add "set sysroot" and "show sysroot". Make "solib-absolute-prefix" an alias to it. * gdb.texinfo (Commands to specify files): Describe "set sysroot" and "show sysroot". (Using the `gdbserver' program): Lowercase argument to @var. Expand description of setting up GDB on the host.
2007-01-08bfd/Kazu Hirata15-130/+186
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of bfd_mach_cpu32_fido. (m68k_arch_features): Use fido_a instead of cpu32. (bfd_m68k_compatible): Reject the combination of Fido and ColdFire. Accept the combination of CPU32 and Fido with a warning. * elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_merge_private_bfd_data, elf32_m68k_print_private_bfd_data): Treat Fido as an architecture by itself. binutils/ * readelf.c (get_machine_flags): Treat Fido as an architecture by itself. gas/ * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an architecture by itself. (m68k_ip): Don't issue a warning for tbl instructions on fido. (m68k_elf_final_processing): Treat Fido as an architecture by itself. include/elf/ * m68k.h (EF_M68K_FIDO): New. (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO. (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove. include/opcode/ * m68k.h (m68010up): OR fido_a. opcodes/ * m68k-opc.c (m68k_opcodes): Replace cpu32 with cpu32 | fido_a except on tbl instructions.
2007-01-08 * frame.c (get_frame_register_bytes): New function.Ulrich Weigand5-147/+146
(put_frame_register_bytes): Likewise. * frame.h (get_frame_register_bytes): Declare. (put_frame_register_bytes): Likewise. * findvar.c (value_from_register): Always construct lval_register values. Use get_frame_register_bytes. * valops.c (value_assign): Use get_frame_register_bytes and put_frame_register_bytes.
2007-01-08Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.Nick Clifton25-24/+69
2007-01-08* configure.host: Add i[3-7]86-*-mingw* case.Nick Clifton2-0/+10
2007-01-08* MAINTAINERS: Update Stan Shebs' email address.Jim Blandy2-3/+7
2007-01-08* pep-dll.h (pep_bfd_is_dll): Add prototype.Nick Clifton2-0/+5
2007-01-08PR ld/3843Nick Clifton2-0/+9
* configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and tdir_elf_i386_fbsd.