* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
[external/binutils.git] / gdb / ChangeLog
1 2009-01-07  Doug Evans  <dje@google.com>
2
3         * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
4
5 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
6
7         * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
8         spacing, a regression from 2008-04-22.
9
10 2009-01-07  Joel Brobecker  <brobecker@adacore.com>
11
12         * utils.c (gdb_print_host_address): Adjust implementation to
13         reuse host_address_to_string. Move comment explaining the conversion
14         from host address to string from here...
15         (host_address_to_string): ... to there.
16
17 2009-01-07  Emi Suzuki  <emi-suzuki@tjsys.co.jp>
18
19         * MAINTAINERS: Add myself for write after approval privileges.
20
21 2009-01-06  Tom Tromey  <tromey@redhat.com>
22
23         * value.c (set_internalvar): Use value_free, not xfree.
24
25 2009-01-06  Jim Blandy  <jimb@red-bean.com>
26
27         Check return values of functions declared with warn_unused_result
28         attribute in GLIBC 2.8.
29         * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
30         * inflow.c (check_syscall): New function.
31         (new_tty): Use check_syscall to check return values from open and dup.
32         * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
33         * main.c (captured_main): Call cwd after setting up gdb_stderr;
34         check for errors from getcwd.
35         * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
36         * ui-file.c (stdio_file_write): Ignore return value from fwrite.
37         (stdio_file_fputs): Same.
38         * utils.c (internal_vproblem): abort if last-ditch error message
39         write fails.
40
41         * top.c (gdb_init): Don't set the current directory here; that's
42         already been done in captured_main.
43
44 2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>
45
46         * ser-tcp.c: Adjust includes.
47         (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
48         (tcp_auto_retry, tcp_retry_limit): Declare.
49         (TIMEOUT): Remove, in favor of tcp_retry_limit.
50         (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
51         (wait_for_connect): New function.
52         (net_open): Use it.  Add auto-retry logic.
53         (set_tcp_cmd, show_tcp_cmd): New functions.
54         (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
55         and "set/show tcp connect-timeout" commands.
56         * NEWS: Document new commands.
57
58 2009-01-05  Tom Tromey  <tromey@redhat.com>
59
60         * python/python-internal.h (Py_ssize_t): Define as int.
61
62 2009-01-05  Jim Blandy  <jimb@red-bean.com>
63
64         * MAINTAINERS: Fix my e-mail address as steering committee member.
65
66 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
67
68         Updated copyright notices for most files.
69
70 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
71
72         * top.c (print_gdb_version): Update copyright year.
73
74 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
75
76         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
77
78 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
79
80         PR breakpoints/9681:
81         * exceptions.h (enum errors): New error type, MEMORY_ERROR.
82         * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
83         * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
84         retrow all other exceptions.
85
86 For older changes see ChangeLog-2008.
87 \f
88 Local Variables:
89 mode: change-log
90 left-margin: 8
91 fill-column: 74
92 version-control: never
93 coding: utf-8
94 End: