aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2010-09-162010-09-16 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon7-17/+388
PR mi/11407 * mi/mi-cmd-stack.c (list_args_or_locals): Catch exceptions from read_var_value and common_val_print and print a warning. 2010-09-16 Phil Muldoon <pmuldoon@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> PR mi/11407 * gdb.mi/dw2-ref-missing-frame-func.c: New File. * gdb.mi/dw2-ref-missing-frame-main.c New File. * gdb.mi/dw2-ref-missing-frame.S New File. * gdb.mi/dw2-ref-missing-frame.exp New File.
2010-09-16*** empty log message ***gdbadmin1-1/+1
2010-09-15gdb/Jan Kratochvil2-1/+6
* MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to keep the list in alphabetical order. Use longer e-mail address.
2010-09-15 * MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil.Tom Tromey2-0/+5
2010-09-15 * charset.c (iconv_open): New define.Tom Tromey3-15/+65
(iconv): Likewise. (iconv_close): Likewise. (phony_iconv_open): Add "phony_" prefix. (phony_iconv_close): Likewise. (phony_iconv): Likewise. * gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__. Change how INTERMEDIATE_ENCODING is defined.
2010-09-152010-09-15 Paul Bolle <pebolle@tiscali.nl>Tom Tromey2-1/+6
* gdb.texinfo (Character Sets): Correctly reference host-charset in example.
2010-09-15 * dwarf2read.c (struct die_info): Fix comment.Doug Evans2-2/+5
2010-09-15 PR 4606Alan Modra2-3/+8
* gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather than setting SEC_NEVER_LOAD on sections that need not be copied.
2010-09-15*** empty log message ***gdbadmin1-1/+1
2010-09-14 * psympriv.h (add_psymbol_to_list, init_psymbol_list)Tom Tromey4-57/+64
(start_psymtab_common, allocate_psymtab, discard_psymtab): Declare. * symfile.h (extend_psymbol_list): Remove. (add_psymbol_to_list, init_psymbol_list, start_psymtab_common) (allocate_psymtab, discard_psymtab): Move to psympriv.h. * psymtab.c (extend_psymbol_list): Move earlier. Now static.
2010-09-14gdb/Jan Kratochvil2-4/+8
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. Update the comment.
2010-09-14gdbTom Tromey4-7/+15
PR symtab/8399: * dwarf2loc.c (locexpr_describe_location_piece): Don't call error for unrecognized frame base expression. gdb/testsuite PR symtab/8399: * gdb.threads/tls.exp: Remove kfail. Update expected output.
2010-09-14gdbTom Tromey5-21/+31
PR exp/11803: * value.c (value_static_field): Use value_of_variable. gdb/testsuite PR exp/11803: * gdb.threads/tls.exp: Use C++. (check_thread_local): Use K::another_thread_local. * gdb.threads/tls.c (class K): New. (another_thread_local): Now a member of K. (spin): Update. No longer K&R C.
2010-09-14 * m32r-rom.c: Replace winsock.h with winsock2.h header.Pierre Muller3-2/+7
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
2010-09-14*** empty log message ***gdbadmin1-1/+1
2010-09-13Fix PR 11992: C++ 'this' scope sometimes does not workSami Wagiaalla5-0/+37
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com> PR symtab/11992: * c-exp.y (classify_name): Check is_a_member_of_this before returning UNKNOWN_CPP_NAME. 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/koenig.cc: created class for testing member lookup. * gdb.cp/koenig.exp: Added test for member lookup.
2010-09-13[NEWS] Announce gdbserver support for x86-lynxosJoel Brobecker2-1/+7
This patch adjusts the NEWS entry for the LynxOS gdbserver to include x86-lynxos to the list of supported platforms. gdb/ChangeLog: * NEWS: Add x86-lynxos to the list of platforms supported by gdbserver.
2010-09-13gdb/testsuite/Jan Kratochvil2-2/+8
Fix false FAILs on sourcetree topdir directory containing "kill". * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the source line matching regexp.
2010-09-13Add support for x86 LynxOSJoel Brobecker3-0/+328
This patch adds support for x86 LynxOS (tested on LynxOS 5.0). gdb/gdbserver/ChangeLog: * lynx-i386-low.c: New file. * configure.srv: Add handling of i[34567]86-*-lynxos* targets.
2010-09-13[NEWS] Announce support for PowerPC LynxOS 5.x.Joel Brobecker2-1/+5
This adjusts the news entry about ppc-lynxos to add version 5.x of the OS to the list of supported versions... gdb/ChangeLog: * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.
2010-09-13[LynxOS] Remove handling of PTRACE_* values removed in Lynx5.Joel Brobecker2-40/+5
Some of the PTRACE_ macros/values were removed in LynxOS 5.x. Since we have not use them so far, the chances that we will use them one day are very small. So I decided to delete them. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Remove handling for request values that have been removed in LynxOS 5.x.
2010-09-13[LynxOS] Include sys/ptrace.h instead of ptrace.h.Joel Brobecker3-2/+7
This is one of the changes needed in order to build gdbserver on LynxOS 5.x. Really interesting: On LynxOS 4.x, there is a #warning when sys/ptrace.h is used (explaining that ptrace.h will be used instead), whereas this file was removed from LynxOS 5.x. The contents of sys/ptrace.h on 4.x (or at least the meat of it): #if defined(__GNUC__) || defined(__GNUG__) #if !defined(__NO_INCLUDE_WARN__) #warning Using <ptrace.h> instead of <sys/ptrace.h> #endif /* defined(__NO_INCLUDE_WARN__) */ #endif /* defined(__GNUC__) || defined(__GNUG__) */ #include <ptrace.h> The fix I went for, for now, is to just include <sys/ptrace.h> unconditionally. I could have done some configury, but we already have to build with -D__NO_INCLUDE_WARN__ to avoid the warnings anyway, and that's unvoidable, due to system includes themselves including the "wrong" header file. Since <sys/ptrace.h> seems to be the choice that was made for LynxOS, and since it works to include it on LynxOS 4.x, I think that's the simplest solution. gdb/gdbserver/ChangeLog: * lynx-low.c, lynx-ppc-low.c: Include <sys/ptrace.h> instead of <ptrace.h>
2010-09-13 * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>:Tom Tromey2-0/+10
Document "fullname" and "from".
2010-09-13 * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.Tom Tromey2-1/+5
2010-09-13Set 256bit vector type name to builtin_type_vec256i.H.J. Lu2-1/+6
2010-09-13 H.J. Lu <hongjiu.lu@intel.com> * i386-tdep.c (i386_ymm_type): Set type name to builtin_type_vec256i.
2010-09-13*** empty log message ***gdbadmin1-1/+1
2010-09-122010-09-12 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+7
* i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2010-09-12Fix typo in comments.H.J. Lu2-3/+7
2010-09-12 H.J. Lu <hongjiu.lu@intel.com> * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2010-09-12*** empty log message ***gdbadmin1-1/+1
2010-09-11Remove amd64_register_name.H.J. Lu4-17/+10
2010-09-11 H.J. Lu <hongjiu.lu@intel.com> * amd64-tdep.c (amd64_register_name): Removed. (amd64_init_abi): Don't call set_gdbarch_register_name. * i386-tdep.c (i386_ymmh_regnum_p): Make it static. * i386-tdep.h (i386_ymmh_regnum_p): Removed.
2010-09-11gdb/Jan Kratochvil9-1/+75
Redirect also uiout and stdtarg{,err} in execute_command_to_string. * cli-logging.c (struct saved_output_files) <targerr>: New. (set_logging_redirect, pop_output_files, handle_redirections): Redirect also gdb_stdtargerr. * defs.h (struct ui_out, make_cleanup_ui_out_redirect_pop): New declarations. * event-top.c (gdb_setup_readline, gdb_disable_readline): Redirect also gdb_stdtargerr. * top.c (execute_command_to_string): Move make_cleanup_ui_file_delete to the top. Redirect also gdb_stdlog, gdb_stdtarg and gdb_stdtargerr. Use ui_out_redirect, register make_cleanup_ui_out_redirect_pop. * tui/tui-io.c (tui_setup_io): Redirect also gdb_stdtargerr. * utils.c (do_ui_out_redirect_pop, make_cleanup_ui_out_redirect_pop): New functions. gdb/testsuite/ * gdb.python/python.exp (set height 0, collect help from uiout) (verify help to uiout): New tests.
2010-09-11*** empty log message ***gdbadmin1-1/+1
2010-09-10gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add is_lp64_target to check 64bit target.
2010-09-10 * hppa-tdep.c (unwind_command): Use host_address_to_string functionPierre Muller4-8/+18
to display a host address. * monitor.c (monitor_read_memory): Likewise. * xtensa-tdep.c (xtensa_push_dummy_call): Likewise.
2010-09-10 * coffread.c (struct coff_symbol): Change c_value type from `long' toPierre Muller2-1/+6
`CORE_ADDRESS' as it might contain target addresses.
2010-09-10 * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macroPierre Muller2-1/+6
before cast to pointer to avoid warning.
2010-09-10*** empty log message ***gdbadmin1-1/+1
2010-09-09 * v850-tdep.c (v850_gdbarch_init): Change the v850's `char'Kevin Buettner2-1/+6
type to be signed.
2010-09-09gdb/testsuite/Jan Kratochvil2-2/+18
* gdb.base/break-interp.exp (reach): Permit leading . for ppc64. (test_ld) <powerpc64-*>: New.
2010-09-09 * dwarf2read.c (fixup_partial_die): Do not set dummy name forUlrich Weigand2-3/+5
anonymous class partial DIEs.
2010-09-09 * configure.ac: Add --enable-inprocess-agent option.Nathan Sidwell3-8/+59
* configure: Rebuilt.
2010-09-09*** empty log message ***gdbadmin1-1/+1
2010-09-08 * gdb.cp/templates.exp (test_template_args): Allow "struct".Daniel Jacobowitz2-2/+6
2010-09-08 * dwarf2read.c (dwarf2_compute_name): Check that the firstDaniel Jacobowitz2-0/+11
argument is a pointer.
2010-09-08 * dwarf2read.c (read_func_scope, read_structure_type)Daniel Jacobowitz2-3/+10
(read_common_block): Check for a NULL return from new_symbol.
2010-09-08gdb/Jan Kratochvil2-0/+11
* dwarf2read.c (dwarf2_read_index): Return on no SEC_HAS_CONTENTS.
2010-09-08 gdb/Daniel Jacobowitz5-35/+71
* dwarf2read.c (read_structure_type): Move processing of fields and member functions from here... (process_structure_scope): ... to here. gdb/testsuite/ * gdb.cp/templates.cc (Empty, FunctionArg): New classes. (FunctionArg::method): New function. (empty, arg): New variables. (main): Call arg.method. * gdb.cp/templates.exp (test_template_args): New function. (do_tests): Call it.
2010-09-08 * gnu-v3-abi.c (gnuv3_print_method_ptr): Do not useDaniel Jacobowitz2-4/+8
the domain type. (gnuv3_make_method_ptr): Likewise.
2010-09-08 * breakpoint.c (create_breakpoint): Add missing _().Tom Tromey2-1/+5
2010-09-08 * dwarf2-frame.h (dwarf2_frame_build_info): Delete, unused.Doug Evans2-4/+4