aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-27Add one more tweak for readline/examples.Eli Zaretskii1-0/+1
2009-03-27 * config/djgpp/fnchange.lst: Update to fix ARI-reported problems.Eli Zaretskii2-2/+166
2009-03-27 * djunpack.bat: Use ".." quoting in Sed command, for the sake ofEli Zaretskii2-1/+6
Windows builds of Sed.
2009-03-27 * section.c (bfd_get_section_contents): Detect and handle the caseNick Clifton2-0/+16
where a section has the SEC_IN_MEMORY flag set but no actual contents allocated.
2009-03-27Remove merge markersNick Clifton1-19/+10
2009-03-27 * thread.c (do_restore_current_thread_cleanup): Redo test forDoug Evans5-4/+173
whether to restore old->inferior_ptid. * gdb.mi/mi-nonstop-exit.exp: New file. * gdb.mi/non-stop-exit.c: New file.
2009-03-272009-03-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+5
* i386-dis.c (get_valid_dis386): Abort on unhandled table.
2009-03-27*** empty log message ***gdbadmin1-1/+1
2009-03-27daily updateAlan Modra1-1/+1
2009-03-26gdbTom Tromey8-11/+30
* breakpoint.c (resolve_sal_pc): Preserve original line number when skipping prologue. gdb/testsuite Update for change to prologue skipping: * gdb.mi/mi2-simplerun.exp: Update. * gdb.mi/mi2-break.exp: Update. * gdb.mi/mi-simplerun.exp: Update. * gdb.mi/mi-break.exp: Update. * gdb.base/ending-run.exp: Update.
2009-03-26 * thread.c (inferior_thread) Remove "extern" in definition.Doug Evans2-1/+5
2009-03-26gdb/Thiago Jung Bauermann6-6/+57
Add gdb.Value.is_optimized_out attribute. * python/python-value.c (valpy_get_is_optimized_out): New function. (value_object_getset): New variable. (value_object_type): Initialize tp_getset element. gdb/doc/ * gdb.texinfo (Values From Inferior): Document is_optimized_out attribute. gdb/testsuite/ * gdb.python/python-value.exp (test_value_in_inferior): Test gdb.Value.is_optimized_out attribute.
2009-03-26gdb/Jan Kratochvil6-119/+374
Recognize missing DW_AT_location as <value optimized out>. * dwarf2read.c (new_symbol <DW_TAG_variable> <!DW_AT_location> <!DW_AT_external>): Call add_symbol_to_list. gdb/testsuite/ * gdb.dwarf2/dw2-noloc-main.c: New file. * gdb.dwarf2/dw2-noloc.S: New symbols matrix. (.text): Remove. (.data): New. (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove. (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'. (DW_TAG_subprogram func_cu1, noloc): Remove. (main): New. * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'. (file_symbols): New procedure.
2009-03-262009-03-26 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>Ramana Radhakrishnan2-36/+40
* gas/arm/wince_inst.d: Convert to unified syntax.
2009-03-26 PR 6494Alan Modra2-6/+11
* elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO p_filesz and p_memsz are equal. Use p_memsz as the segment size. (assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO if we don't find matching PT_LOAD when copying.
2009-03-26 PR 10005Alan Modra2-2/+7
* config/tc-i386.c (reloc): Don't abort on lack of required reloc type.
2009-03-26 * gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.Tom Tromey3-3/+11
* stack.c (print_this_frame_argument_p): Use check_typedef.
2009-03-26 * configure: Rebuild.Tom Tromey3-7/+51
* acinclude.m4 (AM_ICONV): Set am_cv_use_build_libiconv. Rearrange flags setting. Add comments.
2009-03-26 * config/i386/nm-i386.h: Remove code withinPierre Muller8-62/+15
I386_WATCHPOINTS_IN_TARGET_VECTOR conditional. * config/i386/nm-cygwin.h: Remove I386_WATCHPOINTS_IN_TARGET_VECTOR macro. * config/i386/nm-cygwin64.h: Ditto. * config/i386/nm-fbsd.h: Ditto. * config/i386/nm-go32.h: Ditto. * config/i386/nm-linux.h: Ditto. * config/i386/nm-linux64.h: Ditto.
2009-03-26daily updateAlan Modra1-1/+1
2009-03-26*** empty log message ***gdbadmin1-1/+1
2009-03-25 ARI fix: "xasprintf" rule.Pierre Muller2-2/+7
* printcmd.c (sym_info): Replace xasprintf by xstrprintf.
2009-03-25 * remote.c (remote_start_remote): In non-stop mode, callPedro Alves2-2/+12
init_wait_for_inferior before adding threads and inferiors.
2009-03-25 * breakpoint.c (breakpoint_thread_match): Split a large conditionJoel Brobecker2-14/+30
into several smaller conditions. No behavior change.
2009-03-25Fix the date in the last entry.Joel Brobecker1-1/+1
2009-03-25gdb/Pedro Alves6-9/+38
* infrun.c (infrun_thread_thread_exit): New. (_initialize_infrun): Attach it to the thread_exit observer. * thread.c (delete_thread_1): Always call the observer, passing it the silent flag. * mi/mi-interp.c (mi_thread_exit): Add "silent" parameter. If SILENT, return immediately. gdb/doc/ * observer.texi (thread_exit): Add "silent" parameter.
2009-03-25 * infrun.c (normal_stop): Use has_stack_frames instead ofPedro Alves12-134/+137
target_has_stack. * mi/mi-main.c (mi_execute_command): Avoid calling inferior_thread when there is no thread selected. (mi_cmd_execute): Don't special case commands that can run without a valid selected thread. * top.c (execute_command): Don't special case commands that can run without a valid selected thread. Use has_stack_frames. * infcmd.c (ensure_valid_thread): New. (continue_1, step_1, jump_command, signal_command): Use it. (detach_command): Error out if there's no selected thread/inferior. * thread.c (print_thread_info): Allow having no thread selected. (switch_to_thread): Don't read the PC if there is no current thread. (do_restore_current_thread_cleanup): Don't record the current frame if there is no current thread. (make_cleanup_restore_current_thread): Don't read frame info if there is no selected thread. (_initialize_thread): Don't mark commands as "no_selected_thread_ok". * frame.c (get_current_frame): Error out if there is no valid selected thread. (has_stack_frames): Return false if there is no valid selected thread. * cli/cli-cmds.c (init_cli_cmds): Don't mark commands as "no_selected_thread_ok". * cli/cli-decode.c (set_cmd_no_selected_thread_ok) (get_cmd_no_selected_thread_ok): Delete. * cli/cli-decode.h (CMD_NO_SELECTED_THREAD_OK): Delete. (set_cmd_no_selected_thread_ok, get_cmd_no_selected_thread_ok): Delete declaration. * stack.c (get_selected_block): Use has_stack_frames.
2009-03-25gdb/Thiago Jung Bauermann4-8/+37
Fix size of FPSCR in Power 7 processors. * ppc-linux-nat.c (PPC_FEATURE_ARCH_2_05): Remove #define. (PPC_FEATURE_HAS_DFP): New #define. (ppc_linux_read_description): Check for DFP feature instead of ISA 2.05 to decide on size of the FPSCR. gdbserver/ Fix size of FPSCR in Power 7 processors. * linux-ppc-low.c (PPC_FEATURE_ARCH_2_05): Remove #define. (PPC_FEATURE_HAS_DFP): New #define. (ppc_arch_setup): Check for DFP feature instead of ISA 2.05 to decide on size of the FPSCR.
2009-03-252009-03-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* config/tc-i386.c (parse_insn): Use default_arch on unsupported arch.
2009-03-25 * gdb.base/charset.exp (valid_target_charset): New proc.Tom Tromey2-0/+17
Use it to skip tests on invalid charsets.
2009-03-25 * mn10300-tdep.c (trad-frame.h): Don't include.Kevin Buettner2-515/+777
(prologue-value.h): Include. (mn10300_frame_unwind_cache, set_reg_offsets): Delete. (struct mn10300_prologue): Define. (push_reg, translate_rreg, check_for_saved): New functions. (mn10300_analyze_prologue): Rewrite, using prologue-value machinery. Handle more instructions than before. Permit instructions to occur in any order. (mn10300_skip_prologue): Find the extents of the function in question; mn10300_analyze_prologue no longer does this. (mn10300_analyze_frame_prologue): New function. (mn10300_frame_base): New function. (mn10300_frame_this_id): Rewrite, no longer using trad-frame implementation. (mn10300_frame_prev_register): Likewise. (mn10300_frame_base_address, mn10300_frame_base struct): Delete. (mn10300_unwind_pc, mn10300_unwind_sp): Rename `next_frame' to `this_frame'. (mn10300_frame_unwind_init): Don't call frame_base_set_default().
2009-03-25 * gdb.base/completion.exp: Add a test for directory completion.Pierre Muller2-0/+34
2009-03-25 Fix completer problem for filename completion on the first try.Pierre Muller4-23/+95
* gdb/completer.h (gdb_completion_word_break_characters): New function. * gdb/completer.c: Include gdb_assert.h. (complete_line_internal_reason): New enum. (complete_line_internal): Change last argument type to complete_line_internal_reason. Modify function to handle the different complete_line_internal_reason argument values. (complete_line): Adapt to change in complete_line_internal. (command_completer): Ditto. (gdb_completion_word_break_characters): Implement new function. * top.c (init_main): Set rl_completion_word_break_hook to gdb_completion_word_break_characters.
2009-03-25 ARI fix: "strlen d_name" rule.Pierre Muller2-1/+7
* linux-nat.c (linux_nat_xfer_osdata): Use NAMELEN macro.
2009-03-252009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy1-0/+5
* elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of the reloc descriptions.
2009-03-252009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy1-20/+20
* elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of the reloc descriptions.
2009-03-25 * ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d,Hans-Peter Nilsson4-0/+91
ld-cris/tls-e-tpoffcomm1.s: New tests.
2009-03-25 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>Hans-Peter Nilsson2-2/+9
<R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols. <case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto.
2009-03-25 * readelf.c (process_file_header): Don't report a corrupt stringAlan Modra2-1/+7
table index if it is zero.
2009-03-25 * symtab.h (needs_plt_entry): Check for unsatisfied reference fromCary Coutant2-2/+12
an executable. (needs_dynamic_reloc): Likewise.
2009-03-252009-03-24 Tom Tromey <tromey@redhat.com>Tom Tromey7-49/+54
Pedro Alves <pedro@codesourcery.com> * configure, config.in: Rebuild. * configure.ac: Check for libiconvlist. * charset.c: Check HAVE_LIBICONVLIST. * acinclude.m4 (AM_ICONV): Don't subst LIBICONV, LIBICONV_INCLUDE, LIBICONV_LIBDIR. Update CPPFLAGS and LIBS. * Makefile.in (LIBICONV, LIBICONV_INCLUDE, LIBICONV_LIBDIR): Remove. (INTERNAL_CFLAGS_BASE): Update. (INTERNAL_LDFLAGS): Update. (CLIBS): Update.
2009-03-25daily updateAlan Modra1-1/+1
2009-03-25*** empty log message ***gdbadmin1-1/+1
2009-03-24 * yyscript.y (file_cmd): Recognize EXTERN.Ian Lance Taylor4-1/+47
(extern_name_list, extern_name_list_body): New nonterminals. * script.cc (script_add_extern): Define. * script-c.h (script_add_extern): Declare.
2009-03-24 * object.cc (is_elf_object): Define.Ian Lance Taylor5-81/+95
* object.h (is_elf_object): Declare. * archive.cc (Archive::get_elf_object_for_member): Call is_elf_object. * readsymc.cc (Read_symbols::do_read_symbols): Likewise.
2009-03-242009-03-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+11
* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static. (bfd_i386_arch_intel_syntax): Likewise. (i8086_arch): Likewise. (bfd_x86_64_arch): Likewise.
2009-03-24 * output.cc (Output_file::map_anonymous): Define.Ian Lance Taylor3-7/+35
(Output_file::map): Use map_anonymous. If the regular mmap fails, try an anonymous one. Report the size if the mmap fails. * output.h (class Output_file): Declare map_anonymous.
2009-03-24 * target-select.cc (instantiate_target): Don't acquire the lock ifIan Lance Taylor3-4/+14
the instantiated_target_ field has already been set.
2009-03-24 * configure.ac: Initialize the variable $PREFER_CURSES.Jan Kratochvil3-2/+9
* configure: Regenerated.
2009-03-24 * configure.ac: Enable $PREFER_CURSES even with default $ENABLE_TUI.Jan Kratochvil3-2/+7
* configure: Regenerated.