2009-01-09 Kai Tietz <kai.tietz@onevision.com>
[external/binutils.git] / gdb / ChangeLog
1 2009-01-09  Kai Tietz  <kai.tietz@onevision.com>
2
3         * coff-pe-read.c (read_pe_exported_syms): Fix typo.
4
5 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
6
7         * CONTRIBUTE: Minor reformatting.
8
9 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
10
11         * MAINTAINERS: Add myself to Write After Approval.
12         * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
13         export directory.
14
15 2009-01-08  Nathan Froyd  <froydnj@codesourcery.com>
16
17         * remote-sim.c (gdb_os_error): Mark as a noreturn function.
18         Call exit to make it obvious to GCC.
19
20 2009-01-08  Tom Tromey  <tromey@redhat.com>
21
22         PR breakpoints/9350:
23         * varobj.c (varobj_invalidate): Unconditionally free
24         all_rootvarobj.
25         * symfile.c (syms_from_objfile): Free local_addr when returning
26         normally.
27         * exec.c (exec_file_attach): Do cleanups before returning.
28         (exec_file_command): Likewise.
29         * corefile.c (reopen_exec_file): Do cleanups before returning.
30         * breakpoint.c (insert_breakpoint_locations): Do cleanups before
31         returning. 
32         (do_vec_free): New function.
33         (update_global_location_list): Make a cleanup for old_locations.
34         Do cleanups before returning.  Remove unused variable 'e'.
35         (find_condition_and_thread): Free result of parsing the
36         expression.
37         (print_it_typical): Do cleanups before returning.
38         (breakpoint_re_set_one): Always free sals.sals.
39
40 2009-01-08  Joel Brobecker  <brobecker@adacore.com>
41             Emi Suzuki  <emi-suzuki@tjsys.co.jp>
42  
43         * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
44         watchpoints.
45
46 2009-01-07  Doug Evans  <dje@google.com>
47
48         * top.c (gdb_prompt_string): Delete, unused.
49
50 2009-01-07  Pedro Alves  <pedro@codesourcery.com>
51
52         Delete ONE_PROCESS_WRITETEXT leftovers.
53
54         * breakpoint.c (insert_bp_location): Delete process_warning
55         argument.  Adjust.
56         (insert_breakpoint_locations): Adjust.
57         (reattach_breakpoints): Adjust.
58         * infrun.c (normal_stop): Drop "It might be running in another
59         process" notice.
60
61 2009-01-07  Stan Shebs  <stan@codesourcery.com>
62
63         * config/pa/linux.mh (XDEPFILES): Remove.
64
65 2009-01-07  Doug Evans  <dje@google.com>
66
67         * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
68
69 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
70
71         * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
72         spacing, a regression from 2008-04-22.
73
74 2009-01-07  Joel Brobecker  <brobecker@adacore.com>
75
76         * utils.c (gdb_print_host_address): Adjust implementation to
77         reuse host_address_to_string. Move comment explaining the conversion
78         from host address to string from here...
79         (host_address_to_string): ... to there.
80
81 2009-01-07  Emi Suzuki  <emi-suzuki@tjsys.co.jp>
82
83         * MAINTAINERS: Add myself for write after approval privileges.
84
85 2009-01-06  Tom Tromey  <tromey@redhat.com>
86
87         * value.c (set_internalvar): Use value_free, not xfree.
88
89 2009-01-06  Jim Blandy  <jimb@red-bean.com>
90
91         Check return values of functions declared with warn_unused_result
92         attribute in GLIBC 2.8.
93         * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
94         * inflow.c (check_syscall): New function.
95         (new_tty): Use check_syscall to check return values from open and dup.
96         * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
97         * main.c (captured_main): Call cwd after setting up gdb_stderr;
98         check for errors from getcwd.
99         * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
100         * ui-file.c (stdio_file_write): Ignore return value from fwrite.
101         (stdio_file_fputs): Same.
102         * utils.c (internal_vproblem): abort if last-ditch error message
103         write fails.
104
105         * top.c (gdb_init): Don't set the current directory here; that's
106         already been done in captured_main.
107
108 2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>
109
110         * ser-tcp.c: Adjust includes.
111         (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
112         (tcp_auto_retry, tcp_retry_limit): Declare.
113         (TIMEOUT): Remove, in favor of tcp_retry_limit.
114         (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
115         (wait_for_connect): New function.
116         (net_open): Use it.  Add auto-retry logic.
117         (set_tcp_cmd, show_tcp_cmd): New functions.
118         (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
119         and "set/show tcp connect-timeout" commands.
120         * NEWS: Document new commands.
121
122 2009-01-05  Tom Tromey  <tromey@redhat.com>
123
124         * python/python-internal.h (Py_ssize_t): Define as int.
125
126 2009-01-05  Jim Blandy  <jimb@red-bean.com>
127
128         * MAINTAINERS: Fix my e-mail address as steering committee member.
129
130 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
131
132         Updated copyright notices for most files.
133
134 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
135
136         * top.c (print_gdb_version): Update copyright year.
137
138 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
139
140         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
141
142 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
143
144         PR breakpoints/9681:
145         * exceptions.h (enum errors): New error type, MEMORY_ERROR.
146         * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
147         * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
148         retrow all other exceptions.
149
150 For older changes see ChangeLog-2008.
151 \f
152 Local Variables:
153 mode: change-log
154 left-margin: 8
155 fill-column: 74
156 version-control: never
157 coding: utf-8
158 End: