aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-312011-10-31 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam3-30/+32
* symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to gc_mark_symbol. * symtab.cc (Symbol_table::gc_mark_symbol_for_shlib): Rename to gc_mark_symbol. Change to just keep the section associated with symbol. (Symbol_table::add_from_relobj): Mark symbols as not garbage when they are externally visible and --export-dynamic is turned on. (Symbol_table::gc_mark_dyn_syms): Call gc_mark_symbol.
2011-10-312011-10-31 Pedro Alves <pedro@codesourcery.com>Pedro Alves7-6/+321
gdb/gdbserver/ * mem-break.c (check_mem_write): Add `myaddr' parameter. Don't clobber the breakpoints' shadows with fast tracepoint jumps. * mem-break.h (check_mem_write): Add `myaddr' parameter. * target.c (write_inferior_memory): Also pass MYADDR down to check_mem_write. gdb/testsuite/ * gdb.trace/trace-break.c: New. * gdb.trace/trace-break.exp: New.
2011-10-31*** empty log message ***gdbadmin1-1/+1
2011-10-30daily updateAlan Modra1-1/+1
2011-10-30*** empty log message ***gdbadmin1-1/+1
2011-10-29daily updateAlan Modra1-1/+1
2011-10-29gdb/Yao Qi2-0/+5
* infcmd.c (disconnect_command): Call disconnect_tracing.
2011-10-29gdb/Jan Kratochvil2-2/+7
Code cleanup. * symtab.c (skip_prologue_sal): Code reformatting.
2011-10-29merge from gccDJ Delorie2-2/+6
2011-10-29*** empty log message ***gdbadmin1-1/+1
2011-10-28daily updateAlan Modra1-1/+1
2011-10-28gdb/Jan Kratochvil2-6/+17
PR symtab/13208 * jit.c (jit_register_code): Remove unused variable my_cleanups. Check for NULL from bfd_open_from_target_memory. Fix ownership of NBFD and SAI.
2011-10-28gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for break-here-2.
2011-10-282011-10-28 Pedro Alves <pedro@codesourcery.com>Pedro Alves15-125/+959
gdb/ * linux-nat.c (linux_nat_filter_event): Remove `options' parameter, and dead code that used it. If we're handling a PTRACE_EVENT_EXEC event, and the thread group leader is no longer in our lwp list, re-add it. (check_zombie_leaders): New. (linux_nat_wait_1): Remove `options' and `pid' locals. Always wait for children with WNOHANG, and always wait for all children. Don't check for no resumed children upfront. Simplify wait loop. Check for zombie thread group leaders after handling all wait statuses. Return TARGET_WAITKIND_NO_RESUMED if there no unwaited-for children left. * infrun.c (fetch_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED. (handle_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED. (normal_stop): Handle TARGET_WAITKIND_NO_RESUMED. * target.h (enum target_waitkind) <TARGET_WAITKIND_NO_RESUMED>: New. gdb/testsuite/ * gdb.threads/no-unwaited-for-left.c: New. * gdb.threads/no-unwaited-for-left.exp: New. * gdb.threads/non-ldr-exc-1.c: New. * gdb.threads/non-ldr-exc-1.exp: New. * gdb.threads/non-ldr-exc-2.c: New. * gdb.threads/non-ldr-exc-2.exp: New. * gdb.threads/non-ldr-exc-3.c: New. * gdb.threads/non-ldr-exc-3.exp: New. * gdb.threads/non-ldr-exc-4.c: New. * gdb.threads/non-ldr-exc-4.exp: New.
2011-10-28 * dwarf.c (display_debug_frames): If do_debug_frames_interp,Ian Lance Taylor2-0/+8
DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.
2011-10-28gdb/testsuite/Jan Kratochvil10-26/+59
* gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub. * gdb.base/attach-pie-misread.exp: Likewise. * gdb.base/break-interp.exp: Likewise. * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these testcases for use_gdb_stub. * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub. (continue): New testcase. * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub. * gdb.threads/attach-into-signal.exp: Likewise. * gdb.threads/attach-stopped.exp: Likewise. * gdb.threads/attachstop-mt.exp: Likewise.
2011-10-2811-10-28 Sterling Augustine <saugustine@google.com>Sterling Augustine3-0/+41
* psymtab.c (map_symbol_filenames_psymtab): Call QUIT. * symtab.c (free_completion_list): New function. (do_free_completion_list): Likewise. (default_make_symbol_completion_list_break_on): New variable back_to. Call make_cleanup and discard_cleanups. (make_source_files_completion_list): Likewise.
2011-10-28* gdb.python/lib-types.exp (deep_items): Rename from deepitems.Paul Koning2-2/+8
2011-10-28* gdb.texinfo (gdb.types): Rename deepitems to deep_items.Paul Koning2-3/+7
2011-10-28* python/lib/gdb/types.py (deep_items): Rename from deepitems.Paul Koning3-2/+13
* NEWS: Mention deep_items.
2011-10-28Fixes the TILE-Gx/TILEPro port of gas to deal with relocations ofWalter Lee3-10/+21
aliases.
2011-10-28Add myself as TILEPro and TILE-Gx port maintainer.Walter Lee2-0/+3
2011-10-28Mention Tilera support in binutils/NEWS, and fix the TILEProWalter Lee6-3/+17
capitalization in gas/NEWs and ld/NEWS.
2011-10-282011-10-28 Alen Skondro <askondro@gmail.com>Pedro Alves2-0/+7
* ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already defined.
2011-10-28 * po/ja.po: New Japanese translation.Nick Clifton4-2/+16899
* configure.in (ALL_LINGUAS): Add ja. * configure: Regenerate.
2011-10-28gdb/testsuite/Jan Kratochvil2-3/+9
* lib/mi-support.exp (breakpoint_re): Suppress match reporting. (mi_gdb_test): Import globals thread_selected_re and breakpoint_re. Expect them optionally at the regex start.
2011-10-282011-10-27 Meador Inge <meadori@codesourcery.com>Meador Inge2-0/+5
* MAINTAINERS (Write After Approval): Add myself to the list.
2011-10-28*** empty log message ***gdbadmin1-1/+1
2011-10-27daily updateAlan Modra1-1/+1
2011-10-27handle variables stored in muliple consecutive registersJoel Brobecker3-6/+42
gdb/ChangeLog: * value.h (read_frame_register_value): Add declaration. * findvar.c (read_frame_register_value): New function. (value_from_register): Use read_frame_register_value instead of get_frame_register_value + value_contents_copy to get value contents.
2011-10-27 * cli/cli-cmds.c (source_script_with_search): Pass full path toDoug Evans8-25/+44
source_script_from_stream if it may have been found on the search path. * python/py-auto-load.c (source_section_scripts): Pass full path to source_python_script_for_objfile. * python/python.c (source_python_script): Delete stream parameter. All callers updated. (source_python_script_for_objfile): Ditto. * python/python-internal.h (source_python_script_for_objfile): Update. * python/python.h (source_python_script): Update. testsuite/ * gdb.python/python.exp: Test source -s.
2011-10-27opcodes/Peter Bergner2-14/+21
* ppc-opc.c (powerpc_opcodes) <drrndq, drrndq., dtstexq, dctqpq, dctqpq., dctfixq, dctfixq., dxexq, dxexq., dtstsfq, dcffixq, dcffixq., diexq, diexq.>: Use FRT, FRA, FRB and FRBp repsectively on DFP quad instructions.
2011-10-27 * ada-lang.h (ada_start_decode_line_1, ada_finish_decode_line_1)Tom Tromey2-9/+5
(ada_sals_for_line): Remove declarations.
2011-10-27bfd:Joern Rennecke8-8/+8
* cpu-epiphany.c: Reinstate full list of Copyright years. * elf32-epiphany.c: Likewise. cpu: * epiphany.cpu, epiphany.opc: Likewise. gas: * config/tc-epiphany.c, config/tc-epiphany.h: Likewise. * doc/c-epiphany.texi: Likewise. include: * elf/epiphany.h: Likewise.
2011-10-27 * MAINTAINERS: Add myself as EPIPHANY port maintainer.Joern Rennecke2-0/+5
2011-10-27Move unwind reasons to an external .def fileKevin Pouget8-71/+134
gdb/ * frame.c (frame_stop_reason_string): Rewrite using unwind_stop_reasons.def. * frame.h (enum unwind_stop_reason): Likewise. * python/py-frame.c (gdbpy_initialize_frames): Likewise. (gdbpy_frame_stop_reason_string): Use new enum unwind_stop_reason constants for bound-checking. * unwind_stop_reasons.def: New file. * stack.c (backtrace_command_1): Handle UNWIND_FIRST_ERROR as an alias instead of a distinct value. doc/ * gdb.texinfo ((Frames In Python): Document gdb.FRAME_UNWIND_FIRST_ERROR contant.
2011-10-272011-10-27 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-9/+31
PR python/13331 * python/py-function.c (fnpy_call): Check 'args' is not NULL. (convert_values_to_python): Return on Python tuple allocation failure. Return NULL on value conversion error.
2011-10-27 * config.sub: Import these changes from the config project:Nick Clifton2-1/+36
2011-10-08 Joern Rennecke <joern.rennecke@embecosm.com> Ben Elliston <bje@gnu.org> * config.sub (epiphany): New. 2011-09-09 Linas Vepstas <linasvepstas@gmail.com> Ben Elliston <bje@gnu.org> * config.sub (hexagon, hexagon-*): New. 2011-08-23 Roland McGrath <mcgrathr@google.com> * config.sub: Rename 32eb to be32, 32el to le32, 64el to le64, and 64eb to be64. 2011-08-16 Roland McGrath <mcgrathr@google.com> * config.sub (32eb, 32el, 64eb, 64el): New (pseudo-)CPUs. (nacl): Grok as alias for 32el-unknown-nacl.
2011-10-272011-10-27 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-50/+133
* python/py-breakpoint.c (bppy_set_enabled): Use TRY_CATCH. (bppy_set_task): Ditto. (bppy_delete_breakpoint): Ditto. * python/py-symbol.c (gdbpy_lookup_symbol): Ditto. (gdbpy_lookup_global_symbol): Ditto. * python/py-lazy-string.c (stpy_convert_to_value): Ditto. * python/py-frame.c (frapy_is_valid): Ditto. (frame_info_to_frame_object): Ditto. * python/py-type.c (typy_lookup_type): Ditto. (typy_getitem): Ditto. (typy_has_key): Ditto. (typy_richcompare): Use TRY_CATCH. Do not return Py_NE on error.
2011-10-27*** empty log message ***gdbadmin1-1/+1
2011-10-26daily updateAlan Modra1-1/+1
2011-10-26Regenerate gdbarch.hJoel Brobecker2-1/+5
Not sure why, but the version currently checked in as an extraneous trailing whitespace that showed up as a diff when I reran gdbarch.sh. gdb/ChangeLog: * gdbarch.h: Regenerate.
2011-10-26Fix 'sprintf' of potential NULL pointer in 'maint print arch'Joel Brobecker3-2/+8
gdb/ * gdbarch.sh (function_list): Use 'pstring' when printing 'gcore_bfd_target'. * gdbarch.c: Regenerate.
2011-10-26 * regcache.c (registers_changed_ptid): Invalidate thread architectureUlrich Weigand2-3/+7
and frame caches if PTID refers to all threads of a process.
2011-10-26 * spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint opsUlrich Weigand2-2/+7
to create_breakpoint.
2011-10-26 * ppc-sysv-tdep.c (ppc_sysv_use_opencl_abi): New function.Ulrich Weigand2-29/+28
(ppc_sysv_abi_push_dummy_call): Use it. (do_ppc_sysv_return_value): Likewise. (ppc64_sysv_abi_push_dummy_call): Likewise. (ppc64_sysv_abi_return_value): Likewise.
2011-10-26merge from gccDJ Delorie2-80/+448
2011-10-26* gdb.texinfo (gdb.types): Document new deepitems function.Paul Koning2-0/+33
2011-10-26* gdb.python/lib-types.cc (struct A): New structure.Paul Koning3-0/+38
* gdb.python/lib-types.exp (deepitems): New tests.
2011-10-26* python/lib/gdb/types.py (deepitems): New function.Paul Koning2-0/+24