aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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
2010-09-08 * gdb.threads/threxit-hop-specific.exp: Use "continue" insteadUlrich Weigand2-1/+6
of "next" to proceed over pthread_exit call.
2010-09-08 * gdb.base/maint.exp: Avoid wildcards against potentially very longUlrich Weigand2-7/+16
"maint print statistics" output to prevent expect timeouts.
2010-09-08 Revert:Tom Tromey7-220/+59
2010-09-01 Tom Tromey <tromey@redhat.com> * dwarf2read.c, gdbtypes.c, psymtab.c, symfile.h, symtab.c, symtab.h: Revert earlier change.
2010-09-08*** empty log message ***gdbadmin1-1/+1
2010-09-07Fix custom bcache hash regression.Sami Wagiaalla2-0/+12
2010-09-09 Sami Wagiaalla <swagiaal@redhat.com> * psymtab.c (add_psymbol_to_bcache): Initialize obj_section. memset psymbol.ginfo.value to 0.
2010-09-07*** empty log message ***gdbadmin1-1/+1
2010-09-06gdb/testsuite/Jan Kratochvil5-10/+71
* gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here. * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here. * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here. * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here.
2010-09-062010-09-06 Yao Qi <yao@codesourcery.com>Yao Qi4-14/+10
* linux-low.c (linux_kill): Remove unused variable. (linux_stabilize_threads): Likewise. * server.c (start_inferior): Likewise. (queue_stop_reply_callback): Likewise. * tracepoint.c (do_action_at_tracepoint): Likewise.
2010-09-062010-09-06 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+8
* linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior on return.
2010-09-06 * infrun.c (resume): Extend comment on ignoring single-stepPedro Alves2-5/+16
requests on vfork parents waiting for a vfork-done.
2010-09-06gdb/Jan Kratochvil7-19/+45
* corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH is NULL. * fork-child.c (startup_inferior) <resume_signal>: Use enum target_signal type. * linux-nat.c (linux_nat_resume): Use target_signal_to_host before calling strsignal. Use enum target_signal type for saved_signo. (linux_handle_extended_wait) <signo>: Use enum target_signal type. (linux_nat_wait_1): Use enum target_signal type for signo. Use target_signal_to_host before calling strsignal. * remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by TARGET_SIGNAL_0. gdb/gdbserver/ * target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.
2010-09-06gdb/Jan Kratochvil2-3/+7
* common/signals.c (ANY): Remove. (SET): No longer use ANY. include/gdb/ * signals.def: Replace all ANY uses by SET with specific numbers. * signals.h (ANY): Remove.
2010-09-062010-09-06 Yao Qi <yao@codesourcery.com>Yao Qi2-2/+25
* infrunc(resume): When inferior is waiting_for_vfork_done, clear step and don't use displaced stepping.
2010-09-06 * Makefile.in (install-only): Replace $IPA_DEPFILES withPedro Alves2-1/+6
"$(IPA_DEPFILES)".
2010-09-06*** empty log message ***gdbadmin1-1/+1
2010-09-05*** empty log message ***gdbadmin1-1/+1
2010-09-04 * breakpoint.c (can_use_hardware_watchpoint): Handle the firstDaniel Jacobowitz4-7/+42
value specially. testsuite/ * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint before disabling hardware watchpoints. (test_inaccessible_watchpoint): Check that hardware watchpoints are used. Test for watchpoints on a constant address.