From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5144 invoked by alias); 27 Mar 2009 13:26:11 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 5087 invoked by uid 9674); 27 Mar 2009 13:26:08 -0000 Date: Fri, 27 Mar 2009 13:26:00 -0000 Message-ID: <20090327132607.5072.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-type-refcount: Merge commit 'origin/master' into archer-jankratochvil-type-refcount X-Git-Refname: refs/heads/archer-jankratochvil-type-refcount X-Git-Reftype: branch X-Git-Oldrev: b5b3803e51adcd6d72e2cb884318cea9aa42ba7d X-Git-Newrev: 6da1b9f22fea0100d12be1c28da02f2da58d72e0 X-SW-Source: 2009-q1/txt/msg00382.txt.bz2 List-Id: The branch, archer-jankratochvil-type-refcount has been updated via 6da1b9f22fea0100d12be1c28da02f2da58d72e0 (commit) via 4d8c7703513a874c6bedcaf9c35acd4429820595 (commit) via d0679e9c73f28a61899b0a9704e943ee84aa3f44 (commit) via 662e441963535d357f1b60e03f3c04185610ec15 (commit) via f3e48bd7590a90ddadba59eee36bc0f520dd72eb (commit) via 8340d06295c8db80c544503458305197891e0348 (commit) via 7d22f078b354263b0c95d7c3aec2970fd9640645 (commit) via 69f5809898b23548161e77d8a4eb0e1d403f8fb6 (commit) via 534a7a6f626d428d828cf9ae747293dafa85ee46 (commit) via 4c62718461563febf1b8157450f2f91f26353a83 (commit) via a7715162f759ef281588c9ddd4e54253db16305f (commit) via bae36faa443bd8c26a356b7f10853ded46bfe4c5 (commit) via aa878e330bf25fe65aaac2744005e69c8ad5ff39 (commit) via b66b5da01fe075f79266fe57b1da5b2fbc94732f (commit) via 9847bf4e6e7bb0dea075e76572c9c67ca7c341e2 (commit) via c35358da5ca26adb4a1bfba51c11ac196785e8e4 (commit) via 699f6ffa111111aff2e63b4b860b9adfad7fad22 (commit) via 31553d1785659d1fe3a5e231ee330968193099b3 (commit) via 3a64e350b82942734fbcb0b31dd775ed9617e999 (commit) via 7c7ca1b8250e6b0f97f7eb47d6ab74227a3fabdd (commit) via 697b6e50ee00d29a2e2a9006bffef55c90a700f9 (commit) via c98e800a85b9485019404fadac21abe3491b5033 (commit) via f6cb81d808067e2a1c443038130a558360afe58f (commit) via ff27faab30e391dad4a61952bd9f1587ff99d0a5 (commit) via d1cfa18fb5ba2ce7803f31e58c5f509519eb6f10 (commit) via 5111bbd29c48b9004b35e2514752cf4a941b61c6 (commit) via 2df9de1ad9d3da7dcc80ef49ebd45e001269bc73 (commit) via 091af1a56e30d47a8d828afc931167f8142507b2 (commit) via e354c4e1dc0b4ce964e9717e9f494a06518ae21f (commit) via ae61ba3985913274b7e3711f7c1da4d023d9ded9 (commit) via c7deb4d727569b24ed60450f0d8498a53255423e (commit) via 1a9bd38bcd06c2bcc0fea51b36ded2507ba73b3c (commit) via f037d6004a582839ce69eafe3071bc29b0fb6fcd (commit) from b5b3803e51adcd6d72e2cb884318cea9aa42ba7d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 6da1b9f22fea0100d12be1c28da02f2da58d72e0 Merge: b5b3803e51adcd6d72e2cb884318cea9aa42ba7d 4d8c7703513a874c6bedcaf9c35acd4429820595 Author: Jan Kratochvil Date: Fri Mar 27 14:25:16 2009 +0100 Merge commit 'origin/master' into archer-jankratochvil-type-refcount ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 19 + bfd/elf.c | 9 +- bfd/elf32-cris.c | 5 +- bfd/elf32-crx.c | 40 +- bfd/version.h | 2 +- gdb/ChangeLog | 178 +++ gdb/Makefile.in | 12 +- gdb/acinclude.m4 | 52 +- gdb/breakpoint.c | 46 +- gdb/charset.c | 10 +- gdb/cli/cli-cmds.c | 14 +- gdb/cli/cli-decode.c | 12 - gdb/cli/cli-decode.h | 11 - gdb/completer.c | 97 ++- gdb/completer.h | 2 + gdb/config.in | 3 + gdb/config/i386/nm-cygwin.h | 1 - gdb/config/i386/nm-cygwin64.h | 1 - gdb/config/i386/nm-fbsd.h | 1 - gdb/config/i386/nm-go32.h | 1 - gdb/config/i386/nm-i386.h | 59 +- gdb/config/i386/nm-linux.h | 1 - gdb/config/i386/nm-linux64.h | 1 - gdb/configure | 62 +- gdb/configure.ac | 2 +- gdb/doc/ChangeLog | 9 + gdb/doc/gdb.texinfo | 21 +- gdb/doc/observer.texi | 6 +- gdb/dwarf2read.c | 6 + gdb/frame.c | 15 +- gdb/gdbserver/ChangeLog | 8 + gdb/gdbserver/linux-ppc-low.c | 17 +- gdb/gdbtypes.h | 5 +- gdb/infcmd.c | 17 + gdb/infrun.c | 14 +- gdb/linux-nat.c | 2 +- gdb/mi/mi-interp.c | 11 +- gdb/mi/mi-main.c | 35 +- gdb/mn10300-tdep.c | 1270 ++++++++++++-------- gdb/ppc-linux-nat.c | 12 +- gdb/printcmd.c | 4 +- gdb/python/python-value.c | 21 +- gdb/remote.c | 33 +- gdb/stack.c | 12 +- gdb/testsuite/ChangeLog | 42 + gdb/testsuite/gdb.base/charset.exp | 12 + gdb/testsuite/gdb.base/completion.exp | 30 + gdb/testsuite/gdb.base/ending-run.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-noloc-main.c | 28 + gdb/testsuite/gdb.dwarf2/dw2-noloc.S | 328 ++++-- gdb/testsuite/gdb.dwarf2/dw2-noloc.exp | 110 ++- gdb/testsuite/gdb.mi/mi-break.exp | 4 +- gdb/testsuite/gdb.mi/mi-nonstop-exit.exp | 106 ++ gdb/testsuite/gdb.mi/mi-simplerun.exp | 4 +- gdb/testsuite/gdb.mi/mi2-break.exp | 4 +- gdb/testsuite/gdb.mi/mi2-simplerun.exp | 4 +- .../nm-go32.h => testsuite/gdb.mi/non-stop-exit.c} | 46 +- gdb/testsuite/gdb.python/python-value.exp | 3 + gdb/thread.c | 95 +- gdb/top.c | 11 +- gdb/version.in | 2 +- opcodes/ChangeLog | 4 + opcodes/i386-dis.c | 3 +- 63 files changed, 1987 insertions(+), 1012 deletions(-) create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-noloc-main.c create mode 100644 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp copy gdb/{config/i386/nm-go32.h => testsuite/gdb.mi/non-stop-exit.c} (52%) First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dfb9bb5..11a0acb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,22 @@ +2009-03-26 Alan Modra + + PR 6494 + * 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-25 M R Swami Reddy + + * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of + the reloc descriptions. + +2009-03-25 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section) + : Handle COMMON symbols. + : Ditto. + 2009-03-24 H.J. Lu * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static. diff --git a/bfd/elf.c b/bfd/elf.c index 6aa6d1c..720c8a1 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -4683,13 +4683,11 @@ assign_file_positions_for_non_load_sections (bfd *abfd, p->p_align = 1; p->p_flags = (lp->p_flags & ~PF_W); } - else if (link_info != NULL) + else { memset (p, 0, sizeof *p); p->p_type = PT_NULL; } - else - abort (); } else if (m->count != 0) { @@ -5838,14 +5836,13 @@ copy_elf_program_header (bfd *ibfd, bfd *obfd) map->p_align_valid = 1; map->p_vaddr_offset = 0; - if (map->p_type == PT_GNU_RELRO - && segment->p_filesz == segment->p_memsz) + if (map->p_type == PT_GNU_RELRO) { /* The PT_GNU_RELRO segment may contain the first a few bytes in the .got.plt section even if the whole .got.plt section isn't in the PT_GNU_RELRO segment. We won't change the size of the PT_GNU_RELRO segment. */ - map->p_size = segment->p_filesz; + map->p_size = segment->p_memsz; map->p_size_valid = 1; } diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index ed1f3e8..2037b10 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -1733,7 +1733,8 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section, return FALSE; } - if (!info->shared && (h == NULL || h->def_regular)) + if (!info->shared + && (h == NULL || h->def_regular || ELF_COMMON_DEF_P (h))) { /* Known contents of the GOT. */ bfd_vma off; @@ -2000,7 +2001,7 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section, if (h != NULL && ELF_ST_VISIBILITY (h->other) == STV_DEFAULT - && !h->def_regular + && !(h->def_regular || ELF_COMMON_DEF_P (h)) /* If it's undefined, then an error message has already been emitted. */ && h->root.type != bfd_link_hash_undefined) diff --git a/bfd/elf32-crx.c b/bfd/elf32-crx.c index b0db783..54eea93 100644 --- a/bfd/elf32-crx.c +++ b/bfd/elf32-crx.c @@ -104,7 +104,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REL4", /* name */ FALSE, /* partial_inplace */ - 0xf, /* src_mask */ + 0x0, /* src_mask */ 0xf, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -118,7 +118,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REL8", /* name */ FALSE, /* partial_inplace */ - 0xff, /* src_mask */ + 0x0, /* src_mask */ 0xff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -132,7 +132,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REL8_CMP", /* name */ FALSE, /* partial_inplace */ - 0xff, /* src_mask */ + 0x0, /* src_mask */ 0xff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -146,7 +146,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REL16", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0x0, /* src_mask */ 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -160,7 +160,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REL24", /* name */ FALSE, /* partial_inplace */ - 0xffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -174,7 +174,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REL32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -188,7 +188,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REGREL12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ + 0x0, /* src_mask */ 0xfff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -202,7 +202,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REGREL22", /* name */ FALSE, /* partial_inplace */ - 0x3fffff, /* src_mask */ + 0x0, /* src_mask */ 0x3fffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -216,7 +216,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REGREL28", /* name */ FALSE, /* partial_inplace */ - 0xfffffff, /* src_mask */ + 0x0, /* src_mask */ 0xfffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -230,7 +230,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_REGREL32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -244,7 +244,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_ABS16", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0x0, /* src_mask */ 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -258,7 +258,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_ABS32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -272,7 +272,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_NUM8", /* name */ FALSE, /* partial_inplace */ - 0xff, /* src_mask */ + 0x0, /* src_mask */ 0xff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -286,7 +286,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_NUM16", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0x0, /* src_mask */ 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -300,7 +300,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_NUM32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -314,7 +314,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_IMM16", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0x0, /* src_mask */ 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -328,7 +328,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_IMM32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -345,7 +345,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_SWITCH8", /* name */ FALSE, /* partial_inplace */ - 0xff, /* src_mask */ + 0x0, /* src_mask */ 0xff, /* dst_mask */ TRUE), /* pcrel_offset */ @@ -362,7 +362,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_SWITCH16", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0x0, /* src_mask */ 0xffff, /* dst_mask */ TRUE), /* pcrel_offset */ @@ -379,7 +379,7 @@ static reloc_howto_type crx_elf_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_CRX_SWITCH32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0x0, /* src_mask */ 0xffffffff, /* dst_mask */ TRUE) /* pcrel_offset */ }; diff --git a/bfd/version.h b/bfd/version.h index 21bfd82..27eff95 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20090324 +#define BFD_VERSION_DATE 20090327 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a88bc6b..368d45e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,181 @@ +2009-03-26 Doug Evans + + * thread.c (do_restore_current_thread_cleanup): Redo test for + whether to restore old->inferior_ptid. + +2009-03-26 Tom Tromey + + * breakpoint.c (resolve_sal_pc): Preserve original line number + when skipping prologue. + +2009-03-26 Doug Evans + + * thread.c (inferior_thread) Remove "extern" in definition. + +2009-03-26 Thiago Jung Bauermann + + 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. + +2009-03-26 Joel Brobecker + + Recognize missing DW_AT_location as . + * dwarf2read.c + (new_symbol ): + Call add_symbol_to_list. + +2009-03-25 Tom Tromey + + * gdbtypes.h (CHECK_TYPEDEF): Don't yield a value. + * stack.c (print_this_frame_argument_p): Use check_typedef. + +2009-03-25 Tom Tromey + + * configure: Rebuild. + * acinclude.m4 (AM_ICONV): Set am_cv_use_build_libiconv. + Rearrange flags setting. Add comments. + +2009-03-25 Pierre Muller + + * config/i386/nm-i386.h: Remove code within + 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-25 Pierre Muller + + ARI fix: "xasprintf" rule. + * printcmd.c (sym_info): Replace xasprintf by xstrprintf. + +2009-03-25 Pedro Alves + + * remote.c (remote_start_remote): In non-stop mode, call + init_wait_for_inferior before adding threads and inferiors. + +2009-03-25 Joel Brobecker + + * breakpoint.c (breakpoint_thread_match): Split a large condition + into several smaller conditions. No behavior change. + +2009-03-25 Pedro Alves + + * 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. + +2009-03-25 Pedro Alves + + * infrun.c (normal_stop): Use has_stack_frames instead of + 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-25 Thiago Jung Bauermann + + 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. + +2009-03-25 Kevin Buettner + + * mn10300-tdep.c (trad-frame.h): Don't include. + (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 Pierre Muller + + Fix completer problem for filename completion on the first try. + + * 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 Pierre Muller + + ARI fix: "strlen d_name" rule. + * linux-nat.c (linux_nat_xfer_osdata): Use NAMELEN macro. + + +2009-03-24 Tom Tromey + Pedro Alves + + * 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-24 Jan Kratochvil * configure.ac: Initialize the variable $PREFER_CURSES. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 95b95a1..6b69881 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -163,11 +163,6 @@ INTL = @LIBINTL@ INTL_DEPS = @LIBINTL_DEP@ INTL_CFLAGS = @INCINTL@ -# Where is the ICONV library? This can be empty if libc has iconv. -LIBICONV = @LIBICONV@ -LIBICONV_INCLUDE = @LIBICONV_INCLUDE@ -LIBICONV_LIBDIR = @LIBICONV_LIBDIR@ - # Did the user give us a --with-sysroot option? TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@ TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@ @@ -392,8 +387,7 @@ INTERNAL_CFLAGS_BASE = \ $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ $(BFD_CFLAGS) $(INCLUDE_CFLAGS) $(LIBDECNUMBER_CFLAGS) \ - $(INTL_CFLAGS) $(INCGNU) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS) \ - $(LIBICONV_INCLUDE) + $(INTL_CFLAGS) $(INCGNU) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS) INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS) INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS) @@ -405,7 +399,7 @@ LDFLAGS = @LDFLAGS@ # I think it's perfectly reasonable for a user to set -pg in CFLAGS # and have it work; that's why CFLAGS is here. # PROFILE_CFLAGS is _not_ included, however, because we use monstartup. -INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_LDFLAGS) $(LIBICONV_LIBDIR) +INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_LDFLAGS) # If your system is missing alloca(), or, more likely, it's there but hooks/post-receive -- Repository for Project Archer.