aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2012-10-16*** empty log message ***gdbadmin1-1/+1
2012-10-15 * lib/cp-support.exp (cp_test_ptype_class): Add supportKeith Seitz3-0/+51
for class typedefs. * gdb.cp/derivation.exp: Add tests for g_instance.
2012-10-15 New option -nh: inhibit loading of ~/.gdbinit.Doug Evans6-9/+62
* NEWS: Mention -nh. * main.c (captured_main): Recognize and process -nh. (print_gdb_help): Mention -nh. * gdb.1: Mention -nh. Remove erroneous docs on -nx behavior. doc/ * gdb.texinfo (Mode Options): Document -nh. Elaborate on docs for -nx.
2012-10-15Remove sp_regnum_from_eax and pc_regnum_from_eaxH.J. Lu4-22/+11
PR backtrace/14646 PR gdb/14647 * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and pc_regnum_from_eax. * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax nor pc_regnum_from_eax. * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax nor pc_regnum_from_eax.
2012-10-15gdb/Jan Kratochvil6-4/+791
Fix entry values resolving in inlined frames. * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr, gdbarch and caller_frame initialization later. Skip INLINE_FRAME entries of FRAME. gdb/testsuite/ Fix entry values resolving in inlined frames. * gdb.arch/amd64-entry-value-inline.S: New file. * gdb.arch/amd64-entry-value-inline.c: New file. * gdb.arch/amd64-entry-value-inline.exp: New file.
2012-10-15gdb/testsuite/Jan Kratochvil3-4/+12
Fix recent gdb_breakpoint regression. * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly braces from the parameter. * gdb.java/jprint.exp: Likewise.
2012-10-15 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.Doug Evans2-1/+8
2012-10-15Remove trailing '#' in gdb.dwarf2/dw2-icc-opaque.SJoel Brobecker2-1/+5
gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2012-10-15Build with -DMS_WIN64 on amd64-windows if Python enabled...Joel Brobecker3-0/+34
... and building with GCC. gdb/ChangeLog: * configure.ac: Build with -DMS_WIN64 if building with Python enabled using GCC on amd64-windows. * configure: Regenerate.
2012-10-15 PR python/14635:Tom Tromey4-1/+17
* python/py-symtab.c (del_objfile_sal): Set 'symtab' field to Py_None. testsuite * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2012-10-15 PR python/14634:Tom Tromey4-1/+11
* python/py-symbol.c (sympy_dealloc): Check for NULL symbol. testsuite * gdb.python/py-symbol.exp: Test symbol destructor.
2012-10-15*** empty log message ***gdbadmin1-1/+1
2012-10-14gdb/testsuite/Yao Qi22-3395/+29
* gdb.mi/mi2-cli.exp: Move to mi-cli.exp. * gdb.mi/mi-cli.exp: New. * gdb.mi/mi2-basics.exp: Remove. * gdb.mi/mi2-break.exp: Remove. * gdb.mi/mi2-console.exp: Remove. * gdb.mi/mi2-disassemble.exp: Remove. * gdb.mi/mi2-eval.exp: Remove. * gdb.mi/mi2-file.exp: Remove. * gdb.mi/mi2-hack-cli.exp: Remove. * gdb.mi/mi2-pthreads.exp: Remove. * gdb.mi/mi2-read-memory.exp: Remove. * gdb.mi/mi2-regs.exp: Remove. * gdb.mi/mi2-return.exp: Remove. * gdb.mi/mi2-simplerun.exp: Remove. * gdb.mi/mi2-stack.exp: Remove. * gdb.mi/mi2-stepi.exp: Remove. * gdb.mi/mi2-syn-frame.exp: Remove. * gdb.mi/mi2-until.exp: Remove. * gdb.mi/mi2-watch.exp: Remove. * gdb.mi/mi2-var-block.exp: Remove. * gdb.mi/mi2-var-cmd.exp: Remove. * gdb.mi/mi2-var-display.exp: Remove.
2012-10-14*** empty log message ***gdbadmin1-1/+1
2012-10-13*** empty log message ***gdbadmin1-1/+1
2012-10-12gdb/testsuite/Yao Qi2-3/+8
* gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove trail '.*' on matching patterns.
2012-10-12*** empty log message ***gdbadmin1-1/+1
2012-10-11http://sourceware.org/ml/gdb-patches/2012-10/msg00032.htmlAndrew Burgess2-0/+8
gdb/ChangeLog * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to reset thread numbering back to 1.
2012-10-11Use is_x86_like_target to check x86 targetsH.J. Lu9-8/+19
* gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target. * gdb.arch/i386-cfi-notcurrent.exp: Likewise. * gdb.arch/i386-disp-step.exp: Likewise. * gdb.arch/i386-gnu-cfi.exp: Likewise. * gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-size-overlap.exp: Likewise. * gdb.arch/i386-size.exp: Likewise. * gdb.arch/i386-unwind.exp: Likewise.
2012-10-11Check byte/word registers on x86_64H.J. Lu3-2/+7
* gdb.arch/i386-byte.exp: Remove is_ilp32_target check. * gdb.arch/i386-word.exp: Likewise.
2012-10-11Check is_amd64_regs_target to to set nr_regsH.J. Lu3-6/+12
* gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of is_ilp32_target to set nr_regs. * gdb.arch/i386-sse.exp: Likewise.
2012-10-11 PR breakpoints/14643.Doug Evans6-3/+107
* linespec.c (struct ls_parser): New member keyword_ok. (linespec_lexer_lex_string): Add comment. (linespec_lexer_lex_one): Ignore keywords if it's the wrong place for one. (parse_linespec): Set keyword_ok. testsuite/ * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread". * gdb.linespec/thread.c: New file. * gdb.linespec/thread.exp: New file.
2012-10-11 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.Doug Evans2-23/+105
Recognize "message" -> print pass and fail. Add eof case. (runto): Recognize message, no-message. Print pass/fail if requested, with same treatment as gdb_breakpoint. (runto_main): Pass no-message to runto. (gdb_internal_error_resync): Add log message. (gdb_file_cmd): Tweak internal error fail text for consistency.
2012-10-11 * dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicateDoug Evans2-1/+4
"0x" prefix on address in log message.
2012-10-11 * dwarf2read.c (read_1_byte): Add const to buf parameter.Doug Evans2-17/+25
(read_1_signed_byte, read_2_bytes, read_2_signed_bytes): Ditto. (read_4_bytes, read_4_signed_bytes, read_8_bytes): Ditto. (lookup_dwo_file): Add const to dwo_name parameter. (lookup_dwo_comp_unit, lookup_dwo_type_unit): Ditto.
2012-10-11*** empty log message ***gdbadmin1-1/+1
2012-10-10*** empty log message ***gdbadmin1-1/+1
2012-10-09*** empty log message ***gdbadmin1-1/+1
2012-10-08*** empty log message ***gdbadmin1-1/+1
2012-10-07*** empty log message ***gdbadmin1-1/+1
2012-10-06gdb/Jan Kratochvil5-2/+94
Fix crash during stepping on ppc32. * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Test NULL SYM. gdb/testsuite/ Fix crash during stepping on ppc32. * gdb.base/step-symless.c: New file. * gdb.base/step-symless.exp: New file.
2012-10-06*** empty log message ***gdbadmin1-1/+1
2012-10-05*** empty log message ***gdbadmin1-1/+1
2012-10-04*** empty log message ***gdbadmin1-1/+1
2012-10-03 PR symtab/14601Doug Evans5-0/+87
* buildsym.c (buildsym_init): Reset using_directives to NULL. testsuite/ * gdb.cp/using-crash.exp: New file. * gdb.cp/using-crash.cc: New file.
2012-10-03*** empty log message ***gdbadmin1-1/+1
2012-10-02http://sourceware.org/ml/gdb-patches/2012-10/msg00027.htmlAndrew Burgess2-18/+21
gdb/ChangeLog * remote-sim.c (dump_mem): Always dump buffer contents, zero fill output and use uint32_t not long to ensure 4 byte size.
2012-10-02 * lib/gdb.exp (gdb_unload): Change wording of perror text to beDoug Evans2-9/+22
more consistent. (runto,gdb_debug_format): Ditto. (gdb_file_cmd): Watch for eof in nested gdb_expect. Clean up logging and error messages.
2012-10-02gdb_bfd_unref failed assertion on AIX.Joel Brobecker2-0/+6
Trying to run any program on AIX triggers a failed assertion: (gdb) run Starting program: /[...]/simple_main /[...]/gdb_bfd.c:288: internal-error: gdb_bfd_unref: Assertion `gdata->refc >= 1' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) What happens is that we have a loop where we forgot to update the value of "last", resulting in the loop unref'ing the same BFD over and over again. We bomb the second time around, when triggering an assertion on the ref counter. gdb/ChangeLog: * rs6000-nat.c (add_vmap): Set "last" to "next" after having unref'ed it.
2012-10-02*** empty log message ***gdbadmin1-1/+1
2012-10-01http://sourceware.org/ml/gdb-patches/2012-09/msg00568.htmlAndrew Burgess7-7/+178
gdb/ChangeLog * target.c (simple_search_memory): Include access length in warning message. gdb/gdbserver/ChangeLog * server.c (handle_search_memory_1): Include access length in warning message. gdb/testsuite/ChangeLog Test find command on unmapped memory. * gdb.base/find-unmapped.c: New file. * gdb.base/find-unmapped.exp: New file.
2012-10-01*** empty log message ***gdbadmin1-1/+1
2012-09-30*** empty log message ***gdbadmin1-1/+1
2012-09-29gdb/testsuite/Yao Qi6-0/+570
* gdb.trace/mi-tracepoint-changed.exp: New. * gdb.mi/mi-breakpoint-changed.exp: New. * gdb.mi/pending.c, gdb.mi/pendshr1.c: New * gdb.mi/pendshr2.c: New.
2012-09-29*** empty log message ***gdbadmin1-1/+1
2012-09-282012-09-28 Nathan Miller <nathanm2@us.ibm.com>Edjunior Barbosa Machado2-5/+7
Edjunior Machado <emachado@linux.vnet.ibm.com> PR gdb/13989 * solib.c (solib_find): Prevent GDB from loading native libraries when debugging a cross-target corefile.
2012-09-282012-09-28 selven <pcthegreat@gmail.com>Pedro Alves2-1/+8
Make definition match declaration. * regcache.c (regcache_register_status): Change return type to enum register_status.
2012-09-28gdb/Yao Qi5-4/+113
* mi/mi-main.c (mi_cmd_data_write_memory): Call write_memory_with_notification instead of write_memory. (mi_cmd_data_write_memory_bytes): Call write_memory_with_notification instead of target_write_memory. gdb/testsuite/ * gdb.mi/pr11022.exp: New. * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2012-09-28gdb/Yao Qi2-0/+9
* mi/mi-main.c (mi_cmd_data_write_memory_bytes): Emit error when the length of content is not an even number.
2012-09-28*** empty log message ***gdbadmin1-1/+1