aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-01-07gdb/Jan Kratochvil5-24/+112
* f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output spacing, a regression from 2008-04-22. gdb/testsuite/ * gdb.fortran/derived-type.exp: New variables int4 and real4. Match now the output exactly, using less wildcards. Expect also the output of gfortran-4.3. Update for the f-valprint.c modification from 2008-04-22. * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3. Remove gdb_test test names where matching the command.
2009-01-07 * utils.c (gdb_print_host_address): Adjust implementation toJoel Brobecker2-6/+12
reuse host_address_to_string. Move comment explaining the conversion from host address to string from here... (host_address_to_string): ... to there.
2009-01-07* MAINTAINERS: Add myself for write after approval privileges.Emi Suzuki2-0/+5
2009-01-07 * gdbint.texinfo (Start of New Year Procedure): Add the "coding"Joel Brobecker2-2/+14
emacs local variable to be placed at the end of the ChangeLog. Add server.c and gdbreplay.c to the list of files where the copyright year needs to be updated.
2009-01-07 * value.c (set_internalvar): Use value_free, not xfree.Tom Tromey2-1/+5
2009-01-07*** empty log message ***gdbadmin1-1/+1
2009-01-06Check return values of functions declared with warn_unused_resultJim Blandy8-21/+68
attribute in GLIBC 2.8. * cli/cli-cmds.c (pwd_command): Check return value from getcwd. * inflow.c (check_syscall): New function. (new_tty): Use check_syscall to check return values from open and dup. * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets. * main.c (captured_main): Call cwd after setting up gdb_stderr; check for errors from getcwd. * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd. * ui-file.c (stdio_file_write): Ignore return value from fwrite. (stdio_file_fputs): Same. * utils.c (internal_vproblem): abort if last-ditch error message write fails.
2009-01-06* top.c (gdb_init): Don't set the current directory here; that'sJim Blandy2-3/+5
already been done in captured_main.
2009-01-062009-01-06 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore5-60/+242
gdb/ * ser-tcp.c: Adjust includes. (tcp_set_cmdlist, tcp_show_cmdlist): Declare. (tcp_auto_retry, tcp_retry_limit): Declare. (TIMEOUT): Remove, in favor of tcp_retry_limit. (POLL_INTERVAL): Increase to 5, in favor of backoff logic. (wait_for_connect): New function. (net_open): Use it. Add auto-retry logic. (set_tcp_cmd, show_tcp_cmd): New functions. (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry" and "set/show tcp connect-timeout" commands. * NEWS: Document new commands. gdb/doc/ * gdb.texinfo (Remote Configuration): Document new "set/show tcp auto-retry" and "set/show tcp connect-timeout" commands.
2009-01-06 * gdbreplay.c (gdbreplay_version): Update copyright year.Joel Brobecker3-2/+7
* server.c (gdbserver_version): Likewise.
2009-01-06* ChangeLog: Fix date of last entry.Doug Evans2-2/+3
* linux-low.c (handle_extended_wait): Improve comment.
2009-01-06*** empty log message ***gdbadmin1-1/+1
2009-01-05 * linux-low.c (linux_attach_lwp): Add some comments/fixmes.Doug Evans2-6/+33
2009-01-05 * python/python-internal.h (Py_ssize_t): Define as int.Tom Tromey2-2/+9
2009-01-05* MAINTAINERS: Fix my e-mail address as steering committee member.Jim Blandy2-1/+5
2009-01-05*** empty log message ***gdbadmin1-1/+1
2009-01-04*** empty log message ***gdbadmin1-1/+1
2009-01-03Move a 2009 Entry from ChangeLog-2008 to ChangeLog.Joel Brobecker2-8/+8
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.