summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in version of output (gdb/gdbserver/gdbreplay)Joel Brobecker2011-01-015-3/+12
| | | | | | | | | | | | gdb/ChangeLog: * top.c (print_gdb_version): Update copyright year in version output. gdb/gdbserverChangeLog: * server.c (gdbserver_version): Update copyright year in version output. * gdbreplay.c (gdbreplay_version): Ditto.
* Rotate GDB's main ChangeLog fileJoel Brobecker2011-01-013-11951/+11962
| | | | | | | | | gdb/ChangeLog: * ChangeLog-2010: Renames ChangeLog. * ChangeLog: New file. * config/djgpp/fnchange.lst: Add exception for gdb/ChangeLog-2010. Also fix a typo in the exception for gdb/ChangeLog-2009.
* *** empty log message ***gdbadmin2011-01-011-1/+1
|
* 2010-12-31 Michael Snyder <msnyder@vmware.com>Michael Snyder2010-12-3124-1079/+1492
| | | | | | | | | | | | | | | | | | | | | | | | | | * charset.c: Comment cleanup and long line wrapping. * charset.h: Ditto. * c-lang.c: Ditto. * c-lang.h: Ditto. * coff-pe-read.c: Ditto. * coff-pe-read.h: Ditto. * coffread.c: Ditto. * command.h: Ditto. * complaints.c: Ditto. * complaints.h: Ditto. * completer.c: Ditto. * completer.h: Ditto. * corefile.c: Ditto. * corelow.c: Ditto. * core-regset.c: Ditto. * cp-abi.c: Ditto. * cp-abi.h: Ditto. * cp-namespace.c: Ditto. * cp-support.c: Ditto. * cp-support.h: Ditto. * cp-valprint.c: Ditto. * cp-typeprint.c: Ditto. * c-valprint.c: Ditto.
* 2010-12-31 Michael Snyder <msnyder@vmware.com>Michael Snyder2010-12-3111-197/+250
| | | | | | | | | | | | | * annotate.c: Comment cleanup, shorten long lines. * arch-utils.c: Ditto. * arch-utils.h: Ditto. * auxv.c: Ditto. * auxv.h: Ditto. * ax-gdb.c: Ditto. * ax-gdb.h: Ditto. * ax-general.c: Ditto. * breakpoint.h: Ditto. * buildsym.h: Ditto.
* *** empty log message ***gdbadmin2010-12-311-1/+1
|
* Fix style warnings detected by server in new Blackfin codeMike Frysinger2010-12-302-5/+9
|
* *** empty log message ***gdbadmin2010-12-301-1/+1
|
* 2010-12-29 Michael Snyder <msnyder@vmware.com>Michael Snyder2010-12-297-637/+724
| | | | | | | | | * bcache.c: Comment clean-up. * block.c: Ditto. * blockframe.c: Ditto. * breakpoint.c: Ditto. * bsd-kvm.c: Ditto. * buildsym.c: Ditto.
* gdbserver: bfin: new portMike Frysinger2010-12-2910-3/+201
| | | | | Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* gdb: bfin: new portMike Frysinger2010-12-298-1/+1492
| | | | | | | Initial support for Blackfin processors. This supports the standard ABI. Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 2010-12-29 Hui Zhu <teawater@gmail.com>Hui Zhu2010-12-292-2/+6
| | | | * ax-gdb.c (gen_expr): Change error message.
* revert previous gdb.c commit (it was not a minor comment update)Joel Brobecker2010-12-292-6/+6
| | | | | | | gdb/ChangeLog: * gdb.c: Revert the previous change, which was probably committed by accident.
* Fix typo in ada-lang.c comment.Joel Brobecker2010-12-292-1/+5
| | | | | | gdb/ChangeLog: * ada-lang.c: Fix typo in comment.
* [Ada] print null array pointer as `0x0' rather than `(null)'Joel Brobecker2010-12-295-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to print a variable defined as an access to an unconstrained array: type String_Access is access String; S1 : String_Access; If that variable is null, then GDB prints its value in an odd way: (gdb) print S1 $1 = (string_bug.string_access) (null) ^^^^^^ This patch changes the debugger behavior to print the pointer using the same output we'd use for any null pointer: (gdb) print S1 $1 = (string_bug.string_access) 0x0 It also adds an assert, helping us verify an assumption. gdb/ChangeLog: * ada-valprint.c (ada_val_print_1): Print null array pointers as `0x0' rather than `(null)'. Add assertion. gdb/testsuite/ChangeLog: * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String. * gdb.ada/arrayptr.exp: Add test printing that new variable.
* [Ada] do not print arrays as array pointersJoel Brobecker2010-12-299-17/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enhances the debugger to distinguish between fat pointers that represent either: array types, or array access types. In the latter case, the object/type is encoded as a typedef type pointing to the fat pointer. The first part of the change is to adjust ada_check_typedef to avoid stripping the typedef layer when it points to a fat pointer. The rest of the patch is adjustments required in various places to deal with the fact that the type is uses might now be a typedef. gdb/ChangeLog: * ada-lang.h (ada_coerce_to_simple_array): Add declaration. * ada-lang.c (ada_typedef_target_type): New function. (desc_base_type): Add handling of fat pointer typedefs. (ada_coerce_to_simple_array): Make non-static. (decode_packed_array_bitsize): Add handling of fat pointer typedefs. Add assertion. (ada_template_to_fixed_record_type_1, ada_to_fixed_type) (ada_check_typedef): Add handling of fat pointer typedefs. (ada_evaluate_subexp) [OP_FUNCALL]: Likewise. * ada-typeprint.c (ada_print_type): Add handling of fat pointer typedefs. * ada-valprint.c (ada_val_print_1): Convert fat pointers that are not array accesses to simple arrays rather than simple array pointers. (ada_value_print): In the case of array descriptors, do not print the value type description unless it is an array access. gdb/testsuite/ChangeLog: * gdb.ada/lang_switch.exp: Correct expected parameter value. gdb/doc/ChangeLog: * gdb.texinfo (Ada Glitches): Remove paragraph describing the occasional case where the debugger prints an array address instead of the array itself.
* Add documentation for TARGET_OBJECT_OSDATAJoel Brobecker2010-12-292-1/+7
| | | | | | | gdb/ChangeLog: * target.h (enum target_object): Expand the documentation of TARGET_OBJECT_OSDATA a bit.
* 2010-12-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2010-12-2912-279/+321
| | | | | | | | | | | | | | * command.h: Comment clean-up. * cli/cli-cmds.c: Ditto. * cli/cli-cmds.h: Ditto. * cli/cli-decode.c: Ditto. * cli/cli-decode.h: Ditto. * cli/cli-dump.c: Ditto. * cli/cli-interp.c: Ditto. * cli/cli-logging.c: Ditto. * cli/cli-script.c: Ditto. * cli/cli-setshow.c: Ditto. * cli/cli-setshow.h: Ditto.
* 2010-12-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2010-12-299-454/+500
| | | | | | | | | | | * event-loop.c: Comment clean-up. * event-loop.h: Ditto. * event-top.c: Ditto. * gdb.c: Ditto. * gdb.h: Ditto. * main.c: Ditto. * top.c: Ditto. * top.h: Ditto.
* *** empty log message ***gdbadmin2010-12-291-1/+1
|
* * ax-gdb.c (gen_expr) <OP_REGISTER>: Error out if trying toPedro Alves2010-12-282-0/+11
| | | | collect a user register.
* 2010-12-28 Hui Zhu <teawater@gmail.com>Hui Zhu2010-12-287-27/+214
| | | | | | | | | | | | | | | | * gdbarch.sh (ax_pseudo_register_collect, ax_pseudo_register_push_stack): new callbacks. (agent_expr): Forward declare. * gdbarch.h, gdbarch.c: Regenerate. * ax-gdb.c (gen_expr): Remove pseudo-register check code. * ax-general.c (user-regs.h): New include. (ax_reg): Call gdbarch_ax_pseudo_register_push_stack. (ax_reg_mask): Call gdbarch_ax_pseudo_register_collect. * mips-tdep.c (ax.h): New include. (mips_ax_pseudo_register_collect, mips_ax_pseudo_register_push_stack): New functions. (mips_gdbarch_init): Set mips_ax_pseudo_register_collect and mips_ax_pseudo_register_push_stack.
* 2010-12-28 Yao Qi <yao@codesourcery.com>qiyao2010-12-282-8/+8
| | | | * arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.
* remove target_acknowledge_created_inferiorJoel Brobecker2010-12-286-43/+17
| | | | | | | | | | | | | | | | | | | | | | This target_ops routine appears to be unused in practice, so this patch removes it. gdb/ChangeLog: * inf-child.c (inf_child_acknowledge_created_inferior): Delete. (inf_child_target): Do not set t->to_acknowledge_created_inferior. * inf-ptrace.c (inf_ptrace_create_inferior): Remove call to target_acknowledge_created_inferior. * inf-ttrace.c (inf_ttrace_him): Likewise. * target.h (struct target_ops): Delete to_acknowledge_created_inferior field. (target_acknowledge_created_inferior): Delete. * target.c (update_current_target): Remove setting of to_acknowledge_created_inferior field. Do default value for that field either. (debug_to_acknowledge_created_inferior): Delete. (setup_target_debug): Remove setting of current_target.to_acknowledge_created_inferior.
* *** empty log message ***gdbadmin2010-12-281-1/+1
|
* gdb/Pedro Alves2010-12-272-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.
* Code cleanup - renaming.Thiago Jung Bauermann2010-12-272-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-27 Kevin Buettner <kevinb@redhat.com>Hui Zhu2010-12-272-1/+15
| | | | | | Hui Zhu <teawater@gmail.com> * mips-tedp.c (mips_register_name): Add comments.
* *** empty log message ***gdbadmin2010-12-271-1/+1
|
* *** empty log message ***gdbadmin2010-12-261-1/+1
|
* * gdb.threads/tls.exp: Fix typo.Andreas Schwab2010-12-252-1/+3
|
* * gdb.threads/thread-specific.exp (get_thread_list): Update.Andreas Schwab2010-12-253-4/+12
| | | | * gdb.threads/execl.exp: Update.
* *** empty log message ***gdbadmin2010-12-251-1/+1
|
* *** empty log message ***gdbadmin2010-12-241-1/+1
|
* gdbserver: start a gitignoreMike Frysinger2010-12-232-0/+8
|
* gdb/doc/Pedro Alves2010-12-232-0/+20
| | | | | * gdb.texinfo (Packets) <read registers packet>: Document support for registers that were not collected.
* 2010-12-23 Yao Qi <yao@codesourcery.com>qiyao2010-12-233-0/+297
| | | | | * gdb.arch/arm-disp-step.exp: New. * gdb.arch/arm-disp-step.S: New.
* 2010-12-23 Yao Qi <yao@codesourcery.com>qiyao2010-12-232-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.
* Add missing _() marker in error message.Joel Brobecker2010-12-232-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-23 Yao Qi <yao@codesourcery.com>qiyao2010-12-232-1/+5
| | | | | * arm-tdep.c (arm_gdbarch_init): Remove invoke to set_gdbarch_deprecated_fp_regnum.
* *** empty log message ***gdbadmin2010-12-231-1/+1
|
* * inferior.c (remove_inferior_command): Don't remove an active inferior.Marc Khouzam2010-12-223-0/+11
| | | | * mi/mi-main.c (mi_cmd_remove_inferior): Ditto.
* *** empty log message ***gdbadmin2010-12-221-1/+1
|
* gdbTom Tromey2010-12-217-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.
* *** empty log message ***gdbadmin2010-12-211-1/+1
|
* 2010-12-20 Yao Qi <yao@codesourcery.com>qiyao2010-12-202-0/+19
| | | | | | * arm-tdep.c (arm_register_reggroup_p): New. (arm_gdbarch_init): Set arm_register_reggroup_p for hook register_reggroup_p.
* Forget to commit in my last check inqiyao2010-12-201-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-20 Yao Qi <yao@codesourcery.com>qiyao2010-12-205-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.
* *** empty log message ***gdbadmin2010-12-201-1/+1
|
* *** empty log message ***gdbadmin2010-12-191-1/+1
|