aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-01-03 Updated copyright notices for most files.Joel Brobecker1586-1640/+1776
2009-01-03 * top.c (print_gdb_version): Update copyright year.Joel Brobecker2-1/+5
2009-01-03 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.Joel Brobecker2-0/+5
2009-01-03Rotate the ChangeLog as per the Start of New Year Procedure.Joel Brobecker2-11610/+11619
2009-01-03*** empty log message ***gdbadmin1-1/+1
2009-01-02*** empty log message ***gdbadmin1-1/+1
2009-01-012009-01-01 Pedro Alves <pedro@codesourcery.com>Pedro Alves6-20/+60
PR breakpoints/9681: * exceptions.h (enum errors): New error type, MEMORY_ERROR. * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR. * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but retrow all other exceptions. 2009-01-01 Pedro Alves <pedro@codesourcery.com> PR breakpoints/9681: * gdb.base/watchpoint.exp: Add regression test.
2009-01-01*** empty log message ***gdbadmin1-1/+1
2008-12-312008-12-31 Pedro Alves <pedro@codesourcery.com>Pedro Alves4-5/+17
* gdb.threads/attach-into-signal.exp: Don't use gdb_suppress_entire_file. * gdb.threads/attach-stopped.exp: Ditto. * gdb.threads/attachstop-mt.exp: Ditto.
2008-12-312008-12-31 Pedro Alves <pedro@codesourcery.com>Pedro Alves4-14/+27
PR gdb/8812: * infrun.c (handle_command): Don't print a header or notify the target about signal changes if we didn't change any signal. 2008-12-31 Pedro Alves <pedro@codesourcery.com> PR gdb/8812: * gdb.base/signal.exp: Change kfail to fail, and update PR number.
2008-12-31*** empty log message ***gdbadmin1-1/+1
2008-12-30*** empty log message ***gdbadmin1-1/+1
2008-12-29 * valops.c (find_method_list): Minor reformatting in comment.Joel Brobecker2-1/+5
2008-12-292008-12-29 Pedro Alves <pedro@codesourcery.com>Pedro Alves4-10/+72
PR gdb/7536: * valprint.c (input_radix_1): New static global. (set_input_radix): Use it instead of "input_radix". (set_input_radix_1): Always leave input_radix_1 set to input_radix. (output_radix_1): New static global. (set_output_radix): Use it instead of "output_radix". (set_output_radix_1): Always leave output_radix_1 set to output_radix. (_initialize_valprint): Use "input_radix_1" instead of "input_radix" with the "input-radix" command. Use "output_radix_1" instead of "output_radix" with the "output-radix" command. 2008-12-29 Pedro Alves <pedro@codesourcery.com> PR gdb/7536: * gdb.base/radix.exp: Add tests to ensure invalid input radices and unsupported output radices are really rejected.
2008-12-29*** empty log message ***gdbadmin1-1/+1
2008-12-28 * gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mentionPedro Alves2-33/+16
FETCH_INFERIOR_REGISTERS. (Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE, FETCH_INFERIOR_REGISTERS descriptions. Remove gdbarch_get_longjmp_target descrition, since already described in Target Conditionals. Move gdbarch_fp0_regnum description to ... (Target Conditionals): ... here.
2008-12-28 * linux-fork.c (linux_fork_detach): New.Pedro Alves6-12/+80
* linux-fork.h (linux_fork_detach): Declare. * linux-nat.c (linux_child_follow_fork): When following the fork child, add the child inferior before possibly detaching from the parent. Don't reinstall ourselves. (linux_nat_detach): Call linux_fork_detach if there are other forks to debug. * linux-thread-db.c (thread_db_detach): Don't call target_mourn_inferior. Instead inline the necessary bits. * inf-ptrace.c (inf_ptrace_detach): Don't unpush the target if there are other inferiors to debug.
2008-12-28 Fix TYPE_HIGH_BOUND for TYPE_CODE_RANGE using arbitrary TYPE_NFIELDS inJan Kratochvil10-54/+78
preparation for supporting DW_AT_byte_stride. * ada-lang.c (packed_array_type, ada_index_type): Use TYPE_INDEX_TYPE. (ada_array_bound_from_type): Move `index_type' declaration to the function start. New variable `retval'. Return the bounds for TYPE_CODE_RANGE using TYPE_LOW_BOUND and TYPE_HIGH_BOUND. Abort on invalid index type codes. * ada-typeprint.c (print_range): Set `upper_bound' for TYPE_CODE_RANGE now using TYPE_HIGH_BOUND. * ada-valprint.c (val_print_packed_array_elements): Use `index_type'. * eval.c (evaluate_subexp_standard): Use TYPE_INDEX_TYPE. * gdbtypes.c (create_range_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND, refer to the number of fields only through TYPE_NFIELDS. (create_array_type): Use TYPE_INDEX_TYPE. (check_typedef): Use TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND. * gdbtypes.h (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED) (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): Use TYPE_INDEX_TYPE. (TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): Use TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND, * hppa-tdep.c (hppa_alignof <TYPE_CODE_ARRAY>): Use TYPE_INDEX_TYPE. * mdebugread.c (parse_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND, * valarith.c (value_bit_index): Use TYPE_INDEX_TYPE.
2008-12-28*** empty log message ***gdbadmin1-1/+1
2008-12-27*** empty log message ***gdbadmin1-1/+1
2008-12-262008-12-26 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2-6/+15
gdb/ * breakpoint.c (update_watchpoint): Refactor to avoid compiler warning.
2008-12-26*** empty log message ***gdbadmin1-1/+1
2008-12-25*** empty log message ***gdbadmin1-1/+1
2008-12-24*** empty log message ***gdbadmin1-1/+1
2008-12-23 * gdb.cp/punctuator.exp: Backslash the '$' signs.Jan Kratochvil2-12/+16
2008-12-23*** empty log message ***gdbadmin1-1/+1
2008-12-22 * stack.c (print_block_frame_locals): Print spaces, not tabs.Tom Tromey5-21/+37
Update for call to print_variable_and_value. (print_frame_arg_vars): Update. * value.h (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. * printcmd.c (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. Use common_val_print. * f-valprint.c (info_common_command): Update.
2008-12-22 * python/python-value.c (valpy_length): Remove #if.Tom Tromey2-4/+4
2008-12-222008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>Tom Tromey2-0/+5
* python/python-internal.h (PyEval_ReleaseLock): New define.
2008-12-22gdbTom Tromey4-82/+139
* c-exp.y (ident_tokens): New global. (struct token) <cxx_only>: New field. (tokentab3): Update. (tokentab2): Update. (yylex): Use ident_tokens. gdb/testsuite * gdb.cp/punctuator.exp: New file.
2008-12-222008-12-22 Adam Denton <adenton@yahoo.com>Tom Tromey2-0/+6
PR gdb/8307: * environ.c (free_environ): Free e->vector.
2008-12-22gdb/Jan Kratochvil4-2/+31
Fix memory double-free. * completer.c (line_completion_function): Clear LIST after called xfree. gdb/testsuite/ * gdb.base/completion.exp (Completing non-existing component): New test.
2008-12-22 * breakpoint.c (update_watchpoint): Adjust and extend the descriptionJoel Brobecker2-7/+13
of this function. Fix one error message accordingly.
2008-12-22*** empty log message ***gdbadmin1-1/+1
2008-12-21 Fix for PR gdb/8648.Jan Kratochvil5-14/+10
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c, gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test, gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test, gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2008-12-21gdb/Jan Kratochvil5-0/+110
Fix hw watchpoints created before the inferior was started. * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and bp_hardware_watchpoint types according to the current runtime state. gdb/testsuite/ * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2008-12-21*** empty log message ***gdbadmin1-1/+1
2008-12-20*** empty log message ***gdbadmin1-1/+1
2008-12-19*** empty log message ***gdbadmin1-1/+1
2008-12-18 * linux-nat.c (linux_child_follow_fork): If following the child,Pedro Alves3-5/+19
and not detaching the parent, also add the child fork to the fork list. * linux-fork.c (linux_fork_context): Remove dead error call. Assert that the incoming newfp argument is not null. Do not add a new fork for inferior_ptid. Assert that there is one already.
2008-12-18*** empty log message ***gdbadmin1-1/+1
2008-12-17*** empty log message ***gdbadmin1-1/+1
2008-12-162008-12-16 Christophe Lyon <christophe.lyon@st.com>Denis Pilat2-1/+11
* gdb.base/expand-psymtabs.c: Insert code in foo so that the compiler actually generate code at the expected line number.
2008-12-162008-12-16 Tristan Gingold <gingold@adacore.com>Tristan Gingold10-92/+16
* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags, set_sigio_trap, clear_sigio_trap definitions. * inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations. * inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap and clear_sigio_trap. * inf-ttrace.c (inf_ttrace_wait): Ditto. * linux-nat.c (linux_nat_wait): Ditto. * spu-linux-nat.c (spu_child_wait): Ditto. * rs6000-nat.c (rs6000_wait): Ditto. * target.c: Remove target_activity_function and target_activity_fd. * target.h: Remove target_activity_function and target_activity_fd declarations.
2008-12-16 * gdb.texinfo (Omissions from Ada): Add missing GDB prompt inJoel Brobecker2-14/+21
examples. (Additions to Ada): Likewise. Add the missing opening and closing parenthesis of the GDB prompt in one of the examples.
2008-12-162008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-0/+18
* dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and N_PSYM STABS values for 64-bit GDB.
2008-12-16*** empty log message ***gdbadmin1-1/+1
2008-12-15 * gdb.base/consecutive.exp: Don't use global in gdb_expect.Jie Zhang2-5/+4
2008-12-152008-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+18
* dwarf2expr.c (execute_stack_op): Handle DW_OP_swap.
2008-12-15 * ada-lang.c (ada_value_slice_ptr): Rename to...Jerome Guitton2-14/+20
(ada_value_slice_from_ptr): ... this. Return a lazy value instead of a reference. Update comment. (ada_value_struct_elt): Ditto if arg is a pointer or a reference. Update comment as well. (ada_evaluate_subexp): Update use of ada_value_slice_ptr.