aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2010-12-27 gdb/Pedro Alves2-0/+25
* breakpoint.c (breakpoint_restore_shadows): When looking for the location with the lowest address that overlaps the memory range we want to restore shadows for, account for multiple locations at the same address.
2010-12-27 Code cleanup - renaming.Thiago Jung Bauermann2-260/+267
* breakpoint.c: Use bl for `*bp_location' variables, blp_tmp for `**bp_location' helper variables, b_tmp for `*breakpoint' helper variables.
2010-12-272010-12-27 Kevin Buettner <kevinb@redhat.com>Hui Zhu2-1/+15
Hui Zhu <teawater@gmail.com> * mips-tedp.c (mips_register_name): Add comments.
2010-12-27*** empty log message ***gdbadmin1-1/+1
2010-12-26*** empty log message ***gdbadmin1-1/+1
2010-12-25* gdb.threads/tls.exp: Fix typo.Andreas Schwab2-1/+3
2010-12-25* gdb.threads/thread-specific.exp (get_thread_list): Update.Andreas Schwab3-4/+12
* gdb.threads/execl.exp: Update.
2010-12-25*** empty log message ***gdbadmin1-1/+1
2010-12-24*** empty log message ***gdbadmin1-1/+1
2010-12-23gdbserver: start a gitignoreMike Frysinger2-0/+8
2010-12-23 gdb/doc/Pedro Alves2-0/+20
* gdb.texinfo (Packets) <read registers packet>: Document support for registers that were not collected.
2010-12-232010-12-23 Yao Qi <yao@codesourcery.com>Yao Qi3-0/+297
* gdb.arch/arm-disp-step.exp: New. * gdb.arch/arm-disp-step.S: New.
2010-12-232010-12-23 Yao Qi <yao@codesourcery.com>Yao Qi2-4/+214
* arm-tdep.c (thumb_analyze_prologue): Move some code ... (EXTRACT_MOVW_MOVT_IMM_T): ... here. New macro. (EXTRACT_MOVW_MOVT_IMM_A): New macro. (arm_analyze_load_stack_chk_guard): New. (arm_skip_stack_protector): New. (arm_skip_prologue): Adjust post_prologue_pc by arm_skip_stack_protector.
2010-12-23Add missing _() marker in error message.Joel Brobecker2-1/+6
gdb/ChangeLog: * mi/mi-main.c (mi_cmd_remove_inferior): Use _() marker for error message. Change spelling of "can not" into "cannot".
2010-12-232010-12-23 Yao Qi <yao@codesourcery.com>Yao Qi2-1/+5
* arm-tdep.c (arm_gdbarch_init): Remove invoke to set_gdbarch_deprecated_fp_regnum.
2010-12-23*** empty log message ***gdbadmin1-1/+1
2010-12-22 * inferior.c (remove_inferior_command): Don't remove an active inferior.Marc Khouzam3-0/+11
* mi/mi-main.c (mi_cmd_remove_inferior): Ditto.
2010-12-22*** empty log message ***gdbadmin1-1/+1
2010-12-21gdbTom Tromey7-17/+87
* thread.c (print_thread_info): Make a ui-out table in CLI mode. gdb/testsuite * gdb.threads/execl.exp: Update. * gdb.threads/linux-dp.exp: Update. * gdb.threads/manythreads.exp: Update. * gdb.threads/tls.exp: Update.
2010-12-21*** empty log message ***gdbadmin1-1/+1
2010-12-202010-12-20 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+19
* arm-tdep.c (arm_register_reggroup_p): New. (arm_gdbarch_init): Set arm_register_reggroup_p for hook register_reggroup_p.
2010-12-20Forget to commit in my last check inYao Qi1-13/+13
2010-12-20 Yao Qi <yao@codesourcery.com> * features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate.
2010-12-202010-12-20 Yao Qi <yao@codesourcery.com>Yao Qi5-58/+67
* features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate.
2010-12-20*** empty log message ***gdbadmin1-1/+1
2010-12-19*** empty log message ***gdbadmin1-1/+1
2010-12-18 * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.Marc Khouzam2-0/+33
(get_other_inferior): New.
2010-12-18 * python/py-progspace.c (py_free_pspace): Obtain arch anotherMarc Khouzam2-3/+7
way to avoid dereferencing a null pointer.
2010-12-182010-12-17 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* utils.c (do_my_cleanups): Comment fix-up.
2010-12-18*** empty log message ***gdbadmin1-1/+1
2010-12-17 * mips-tdep.c (make_mips16_addr): New function.Kevin Buettner2-5/+68
(mips_elf_make_msymbol_special): Don't set the low bit in the symbol's address. (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit indicating mips16 address, if present. (mips_write_pc): Set bit indicating mips16 address when in a mips16 function. (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise, but for each function pointer argument to inferior function call.
2010-12-17 * psympriv.h (struct partial_symtab) <readin>: Move fieldTom Tromey2-4/+11
earlier.
2010-12-17*** empty log message ***gdbadmin1-1/+1
2010-12-16 * mips-tdep.c (mips_convert_register_float_case_p)Kevin Buettner2-5/+99
(mips_convert_register_gpreg_case_p): New functions. (mips_convert_register_p): Invoke new functions above. (mips_register_to_value): Add case for fetching value shorter than 64 bits from a 64-bit register. (mips_value_to_register): Add case for storing value shorter than 64 bits into a 64-bit register.
2010-12-162010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com>Tom Tromey2-1/+6
* python/py-value.c (value_object_type) <tp_flags>: Add Py_TPFLAGS_BASETYPE.
2010-12-16NEWS: Mention new sim --map-info flag.Mike Frysinger2-0/+8
2010-12-16 * dwarf2read.c (_initialize_dwarf2_read): Fix help text ofDoug Evans2-1/+6
"save gdb-index" command.
2010-12-16*** empty log message ***gdbadmin1-1/+1
2010-12-15gdbTom Tromey5-3/+68
* infrun.c (save_infcall_control_state): Handle the exception-resume breakpoint. (restore_infcall_control_state): Likewise. (discard_infcall_control_state): Likewise. gdb/testsuite 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.cp/nextoverthrow.cc (dummy): Return int 0. (NextOverThrowDerivates) <resumebpt>: New. (resumebpt_test): New. (main): Call resumebpt_test. * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2010-12-15 * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bitKevin Buettner2-6/+23
cooked values that are being transferred to 64-bit raw registers. (mips_pseudo_register_read): Revise to preserve symmetry with mips_pseudo_register_write().
2010-12-152010-12-15 Greg Watson <g.watson@computer.org>Tom Tromey2-2/+6
* f-exp.y (yylex): Check entire token against keywords.
2010-12-15 Rename "maint set python auto-load" to "set auto-load-scripts".Doug Evans5-19/+64
* NEWS: Mention it. * python/py-auto-load.c (auto_load_scripts): Renamed from gdbpy_auto_load. (load_auto_scripts_for_objfile): Update. (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to "set auto-load-scripts". doc/ * gdb.texinfo (Startup): Document auto-loading of scripts during startup. (Auto-loading): Delete "maint set python auto-load on|off". Add "set auto-load-scripts on|off".
2010-12-15*** empty log message ***gdbadmin1-1/+1
2010-12-14 * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, ratherKevin Buettner2-11/+16
than unsigned, values in registers.
2010-12-14Move gdb ChangeLog entry to gdb/ChangeLog.H.J. Lu1-0/+7
2010-12-14gdb:Ken Werner2-6/+18
* valops.c (value_one): Use get_array_bounds to compute the number of array elements instead of dividing the length of the array by the length of the element types. * valarith.c (value_complement, value_neg): Likewise.
2010-12-14build failure on IRIX when building with Python support.Joel Brobecker4-5/+44
This is a nasty interaction between Python and GDB. Basically, Python causes some macros to be unilaterally defined in order to turns some features on: /* Define to activate features from IEEE Stds 1003.1-2001 */ #define _POSIX_C_SOURCE 200112L /* Define to the level of X/Open that your system supports */ #define _XOPEN_SOURCE 600 But the problem is that they turn off defines provided by some system headers on which we depend. Namely: * sys/siginfo.h: #if _SGIAPI #define siginfo __siginfo #endif * sys/ucontext.h: #if _SGIAPI && !defined(__SGI_NOUCONTEXT_COMPAT) [...] #define fp_r __fp_r [...] #define fp_csr __fp_csr [...] #endif The important macro here is _SGIAPI, defined as follow in standards.h: #define _SGIAPI ((defined(_SGI_SOURCE) && \ _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5) || \ (_ANSIMODE && _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5)) If one builds GDB without Python, then _SGIAPI is true, and all is fine. But building with Python causes both _POSIX_C_SOURCE and _XOPEN_SOURCE to trip all the _NO_[...] tests (_NO_POSIX, _NO_XOPEN4, _NO_XOPEN5). And so we get build failures because we try to use undefined types, or non-existent component names inside the regset structure. The latter problem is observed only within irix5-nat.c, which means that it is specific to IRIX. So it's easy to write the code in a way that it does not require the macros (just use the real component names, rather than relying on the macros to do the translation). The former, on the other hand, is a little trickier, because the problem occurs inside a generic unit (procfs.c). The solution I chose was to adjust the configure script to add -Dsiginfo=__siginfo to the CPPFLAGS if building with python using GCC on IRIX. We hadn't seen this sort of issue up to now because the affect units have not been dependent on the python includes up to now. Recent changes have made them indirectly dependent on Python, thus triggering the issues. gdb/ChangeLog: * irix5-nat.c: Replace fp_r, fp_regs and fp_scr by __fp_r, __fp_regs and __fp_scr respectively throughout. * configure.ac: Compile with -Dsiginfo=__siginfo if building with Python using GCC on IRIX. * configure: Regenerate.
2010-12-14*** empty log message ***gdbadmin1-1/+1
2010-12-13 * solib-svr4.c (enable_break): Don't attempt to place breakpoints,Kevin Buettner2-9/+18
when attaching, on the names in bkpt_names: _start, __start, and main.
2010-12-132010-12-12 Stan Shebs <stan@codesourcery.com>Stan Shebs4-7/+90
* value.c (value_of_internalvar): Add case for trace state variables. * gdb.trace/tsv.exp: Test print command on trace state variables.
2010-12-13*** empty log message ***gdbadmin1-1/+1