aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2010-05-172010-05-17 Michael Snyder <msnyder@vmware.com>Michael Snyder9-45/+168
* valarith.c: White space. * valops.c: White space. * valprint.c: White space. * value.c: White space. * varobj.c: White space. * xcoffread.c: White space. * xml-support.c: White space. * xml-tdesc.c: White space.
2010-05-17Use breakpoint location to parse condition over current language.Joel Brobecker10-4/+255
gdb/ChangeLog: * parse.c (parse_exp_in_context): When block is not NULL, use its associated language to parse the expression instead of the current_language. gdb/testsuite/ChangeLog: * gdb.ada/cond_lang: New testcase.
2010-05-17Remove commented-out code in jv-lang.cJoel Brobecker2-44/+6
2010-05-17 Joel Brobecker <brobecker@adacore.com> * jv-lang.c (java_lookup_class): Remove commented out code. (type_from_class): Likewise. (java_op_print_tab): Remove commented-out elements.
2010-05-17testsuite: Prevent writes to prms_id and bug_id.Joel Brobecker2-0/+27
gdb/testsuite/ChangeLog: * lib/gdb.exp (banned_variables): New variable/constant. (gdb_init): Add write trace on variables listed in banned_variables. (gdb_finish): Remove write traces on variables listed in banned_variables.
2010-05-17Some uses of bug_id and prms_id just reappeared - remove them.Joel Brobecker3-6/+5
2010-05-17 Joel Brobecker <brobecker@adacore.com> * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id. * gdb.cp/koenig.exp: Likewise. Tested on x86_64-linux.
2010-05-17Avoid global lookup when decoding XA type.Joel Brobecker4-28/+100
This patch enhances GDB to take advantage of a recent change in the GNAT encoding regarding XA types. A detailed description of the logic has been added at the start of ada_fixup_array_indexes_type to give the context behind this enhancement. 2010-05-17 Joel Brobecker <brobecker@adacore.com> * ada-lang.c (to_fixed_range_type): The the raw index type as argument instead of the raw type name. Remove orig_type parameter. Update calls throughout. (ada_fixup_array_indexes_type): New function. (ada_array_bound_from_type): Add call to ada_fixup_array_indexes_type. * ada-lang.h (ada_fixup_array_indexes_type): Add declaration. * ada-typeprint.c (print_range_type): Renames print_range_type_named. Remove name parameter. (print_array_type): Add call to ada_fixup_array_indexes_type. Update calls to print_range_type. (ada_print_type): Update calls to print_range_type.
2010-05-17PR gdb/11092Andreas Schwab2-13/+19
* c-lang.c (c_printstr): Compute real length of NUL terminated string at first.
2010-05-17 * dwarf2read.c (read_set_type): Set type length ifPierre Muller2-0/+8
DW_AT_byte_size attribute is present.
2010-05-17 * p-valprint.c (pascal_val_print): Handle set type if range limitsPierre Muller2-0/+13
are undefined but size is known.
2010-05-17 * procfs.c: Reformat.Pedro Alves2-1212/+730
2010-05-17Revert previous change that inadvertently added reset_schedlock, andPedro Alves4-29/+0
revert changes done on top on that.
2010-05-17Add reset_schedlock declaration in target.h.Joel Brobecker4-4/+13
This patches improves a couple of previous patches: - one that introduces reset_schedlock, but failed to add a declarationl; - one that was checked in to avoid a compilation failure due to that missing declaration. It also improves the declaration itself to better conform to our coding practices. Same for the comments. 2010-05-17 Joel Brobecker <brobecker@adacore.com> * target.h (reset_schedlock): Add declaration. * infrun.c (reset_schedlock): Add missing void in function profile. * target.c (target_mourn_inferior): Delete local declaration of reset_schedlock. Style-fix in comment.
2010-05-172010-05-17 Hui Zhu <teawater@gmail.com>Hui Zhu2-0/+5
* target.c (target_mourn_inferior): Extern reset_schedlock.
2010-05-172010-05-16 Michael Snyder <msnyder@vmware.com>Michael Snyder13-29/+145
* target.c: White space. * target-descriptions.c: White space. * target-memory.c: White space. * thread.c: White space. * top.c: White space. * tracepoint.c: White space. * trad-frame.c: White space. * tramp-frame.c: White space. * ui-file.c: White space. * ui-out.c: White space. * user-regs.c: White space. * utils.c: White space.
2010-05-17*** empty log message ***gdbadmin1-1/+1
2010-05-162010-05-16 Michael Snyder <msnyder@vmware.com>Michael Snyder29-36/+203
* scm-exp.c: White space. * scm-lang.c: White space. * scm-valprint.c: White space. * sentinel-frame.c: White space. * ser-base.c: White space. * ser-go32.c: White space. * serial.c: White space. * ser-mingw.c: White space. * ser-pipe.c: White space. * ser-tcp.c: White space. * ser-unix.c: White space. * solib.c: White space. * solib-darwin.c: White space. * solib-frv.c: White space. * solib-irix.c: White space. * solib-osf.c: White space. * solib-pa64.c: White space. * solib-som.c: White space. * solib-spu.c: White space. * solib-svr4.c: White space. * solib-target.c: White space. * source.c: White space. * stabsread.c: White space. * stack.c: White space. * std-regs.c: White space. * symfile.c: White space. * symmisc.c: White space. * symtab.c: White space.
2010-05-162010-05-16 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+6
* source.c (_initialize_source): Add "rev" as an abbreviation for the "reverse-search" command.
2010-05-162010-05-16 Michael Snyder <msnyder@vmware.com>Michael Snyder8-82/+154
* record.c: White space. * regcache.c: White space. * reggroups.c: White space. * remote-fileio.c: White space. * remote-m32r-sdi.c: White space. * remote-mips.c: White space. * remote-sim.c: White space.
2010-05-162010-05-16 Michael Snyder <msnyder@vmware.com>Michael Snyder2-27/+74
* remote.c: White space. (process_g_packet): Remove orphan braces.
2010-05-162010-05-15 Michael Snyder <msnyder@vmware.com>Michael Snyder10-23/+85
* parse.c: White space. * p-lang.c: White space. * posix-hdep.c: White space. * printcmd.c: White space. * progspace.c: White space. * prologue-value.c: White space. * psymtab.c: White space. * p-typeprint.c: White space. * p-valprint.c: White space.
2010-05-162010-05-15 Michael Snyder <msnyder@vmware.com>Michael Snyder6-173/+208
* objc-lang.c: White space. * objfiles.c: White space. * observer.c: White space. * osabi.c: White space. * osdata.c: White space.
2010-05-162010-05-15 Michael Snyder <msnyder@vmware.com>Michael Snyder13-23/+106
* m2-lang.c: White space. * m2-valprint.c: White space. * macrocmd.c: White space. * macroexp.c: White space. * macroscope.c: White space. * macrotab.c: White space. * main.c: White space. * maint.c: White space. * mdebugread.c: White space. * memattr.c: White space. * minsyms.c: White space. * monitor.c: White space.
2010-05-16*** empty log message ***gdbadmin1-1/+1
2010-05-15*** empty log message ***gdbadmin1-1/+1
2010-05-142010-05-14 Michael Snyder <msnyder@vmware.com>Michael Snyder10-69/+178
* jv-lang.c: White space. * jv-typeprint.c: White space. * jv-valprint.c: White space. * language.c: White space. * libunwind-frame.c: White space. * linespec.c: White space. * linux-nat.c: White space. * linux-record.c: White space. * linux-thread-db.c: White space.
2010-05-142010-05-14 Michael Snyder <msnyder@vmware.com>Michael Snyder10-2/+84
* infcall.c: White space. * inf-child.c: White space. * infcmd.c: White space. * inferior.c: White space. * inf-loop.c: White space. * inflow.c: White space. * inline-frame.c: White space. * interps.c: White space.
2010-05-142010-05-14 Michael Snyder <msnyder@vmware.com>Michael Snyder7-35/+103
* gcore.c: White space. * gdb.c: White space. * gdbtypes.c: White space. * gnu-nat.c: White space. * gnu-v2-abi.c: White space. * gnu-v3-abi.c: White space.
2010-05-142010-05-14 Michael Snyder <msnyder@vmware.com>Michael Snyder8-10/+45
* findcmd.c: White space. * findvar.c: White space. * fork-child.c: White space. * frame-base.c: White space. * frame.c: White space. * frame-unwind.c: White space. * f-valprint.c: White space.
2010-05-142010-05-14 Michael Snyder <msnyder@vmware.com>Michael Snyder9-8/+75
* elfread.c: White space. * environ.c: White space. * eval.c: White space. * event-loop.c: White space. * event-top.c: White space. * exceptions.c: White space. * exec.c: White space. * expprint.c: White space.
2010-05-142010-05-14 Michael Snyder <msnyder@vmware.com>Michael Snyder11-13/+133
* dbxread.c: White space. * dcache.c: White space. * disasm.c: White space. * doublest.c: White space. * dsrec.c: White space. * dummy-frame.c: White space. * dwarf2expr.c: White space. * dwarf2-frame.c: White space. * dwarf2loc.c: White space. * dwarf2read.c: White space.
2010-05-142010-05-14 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon4-1/+40
PR python/11482 * python/py-value.c (valpy_hash): New function. (value_object_type): Register valpy_hash. 2010-05-14 Phil Muldoon <pmuldoon@redhat.com> PR python/11482 * gdb.python/py-value.exp (test_value_hash): New function
2010-05-142010-05-14 Hui Zhu <teawater@gmail.com>Hui Zhu2-0/+89
Michael Snyder <msnyder@vmware.com> * linux-fork.c (gdbthread.h): New include. (fork_info): Add parent_ptid. (inferior_call_waitpid_cleanup, inferior_call_waitpid): New functions. (delete_checkpoint_command): Call inferior_call_waitpid. (checkpoint_command): Set parent_ptid.
2010-05-142010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-21/+27
* dictionary.c: Re-indent to GNU coding standard.
2010-05-14*** empty log message ***gdbadmin1-1/+1
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder15-22/+115
* charset.c: White space. * c-lang.c: White space. * cli-out.c: White space. * coffread.c: White space. * complaints.c: White space. * completer.c: White space. * corefile.c: White space. * corelow.c: White space. * cp-abi.c: White space. * cp-namespace.c: White space. * cp-support.c: White space. * cp-valprint.c: White space. * c-typeprint.c: White space. * c-valprint.c: White space.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder4-13/+57
* blockframe.c: White space. * breakpoint.c: White space. * buildsym.c: White space.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-11/+16
* bcache.c: White space.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder4-3/+22
* gdbarch.sh: White space, add blank lines. * arch-utils.c: Ditto. * gdbarch.c: Regenerate.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+20
* frame.c: White space, add blank lines.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* stack.c: White space, add blank lines.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-12/+4
* stack.c (initialize_stack): Remove long-dead code.
2010-05-13gdb/Jan Kratochvil2-24/+24
Code cleanup. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Change the parameter to type. (locexpr_read_variable, loclist_read_variable): Update the callers.
2010-05-13gdb/Jan Kratochvil2-33/+17
Code cleanup. * dwarf2read.c (die_type, die_descriptive_type): Remove variable type. Remove check of NULL returned by tag_type_to_type. (die_containing_type): Remove variable type. Remove type_die variable initialization. Remove check of NULL returned by tag_type_to_type.
2010-05-13*** empty log message ***gdbadmin1-1/+1
2010-05-12*** empty log message ***gdbadmin1-1/+1
2010-05-112010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller5-0/+109
PR exp/11530. * gdbtypes.c (lookup_struct_elt_type): Also lookup names of unnamed structures or unions. testsuite ChangeLog entry: 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr> PR exp/11530. * testsuite/gdb.base/gdb11530.c: New file. * testsuite/gdb.base/gdb11530.exp: New file.
2010-05-11 * procfs.c (proc_watchpoint_address): New function.Pierre Muller2-3/+57
(procfs_stopped_by_watchpoint): Remove useless check after find_procinfo_or_die call. (procfs_stopped_data_address): New function. (procfs_use_watchpoints): Register new watchpoint related function.
2010-05-11 * eval.c (evaluate_subexp_standard): Revert inadvertent change.Tom Tromey2-2/+6
2010-05-11*** empty log message ***gdbadmin1-1/+1
2010-05-102010-05-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+44
* utils.c: White space cleanup.