gas/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * gdbtypes.c (append_composite_type_field): Correct the location of
4 appended fields.
5
6 2009-01-09 Pedro Alves <pedro@codesourcery.com>
7
8 * defs.h (deprecated_error_hook): Delete declaration.
9 * interps.c (clear_interpreter_hooks): Adjust.
10 * remote-sim.c (gdb_os_error): Don't try to call
11 deprecated_error_hook. No need to call exit anymore.
12 * top.c (deprecated_error_hook): Delete.
13
14 2009-01-09 Joel Brobecker <brobecker@adacore.com>
15
16 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
17 to print the address of the gdbarch pointer.
18
19 2009-01-09 Joel Brobecker <brobecker@adacore.com>
20
21 * gdbarch.sh: Fix all the compilation errors on amd64-windows
22 due to casting a pointer to a long when printing a function
23 address. Instead, use host_address_to_string to convert our
24 address to a string.
25 * gdbarch.c: Regenerate.
26
27 2009-01-09 Joel Brobecker <brobecker@adacore.com>
28
29 * event-top.c (async_disconnect, async_stop_sig): use "raise"
30 instead of "kill" to raise a signal.
31
32 2009-01-09 Joel Brobecker <brobecker@adacore.com>
33
34 * win32-nat.c (get_module_name): Change the type of parameter
35 "base_address" to LPVOID. Remove unnecessary cast.
36 (struct lm_info): Change type of load_addr to LPVOID.
37 (win32_make_so): Change the type of parameter "load_addr"
38 to LPVOID. Remove some unnecessary casts.
39 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
40 (win32_xfer_shared_libraries): Add missing cast.
41
42 2009-01-09 Joel Brobecker <brobecker@adacore.com>
43
44 * win32-nat.c (has_detach_ability, set_process_privilege):
45 Cast the result of GetProcAddress to (void *) to avoid
46 a compilation warning.
47
48 2009-01-09 Joel Brobecker <brobecker@adacore.com>
49
50 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
51 already defined.
52
53 2009-01-09 Joel Brobecker <brobecker@adacore.com>
54
55 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
56 definition of local variable "done".
57 (info_w32_command, handle_exception): Remove unnecessary cast.
58
59 2009-01-09 Joel Brobecker <brobecker@adacore.com>
60
61 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
62 DebugSetProcessKillOnExit. Update all uses in this file.
63 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
64 Update all uses in this file.
65
66 2009-01-09 Joel Brobecker <brobecker@adacore.com>
67
68 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
69 and use it when pushing the target.
70 (win32_attach, win32_create_inferior): Update call to
71 do_initial_win32_stuff.
72 (win32_detach, win32_mourn_inferior): Use our ops parameter
73 instead of the global win32_ops to unpush the target.
74
75 2009-01-09 Joel Brobecker <brobecker@adacore.com>
76
77 * ser-mingw.c (ser_windows_open): Use proper type when casting
78 in call to _open_osfhandle.
79
80 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
81
82 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
83
84 2009-01-09 Joel Brobecker <brobecker@adacore.com>
85
86 * CONTRIBUTE: Minor reformatting.
87
88 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
89
90 * MAINTAINERS: Add myself to Write After Approval.
91 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
92 export directory.
93
94 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
95
96 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
97 Call exit to make it obvious to GCC.
98
99 2009-01-08 Tom Tromey <tromey@redhat.com>
100
101 PR breakpoints/9350:
102 * varobj.c (varobj_invalidate): Unconditionally free
103 all_rootvarobj.
104 * symfile.c (syms_from_objfile): Free local_addr when returning
105 normally.
106 * exec.c (exec_file_attach): Do cleanups before returning.
107 (exec_file_command): Likewise.
108 * corefile.c (reopen_exec_file): Do cleanups before returning.
109 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
110 returning.
111 (do_vec_free): New function.
112 (update_global_location_list): Make a cleanup for old_locations.
113 Do cleanups before returning. Remove unused variable 'e'.
114 (find_condition_and_thread): Free result of parsing the
115 expression.
116 (print_it_typical): Do cleanups before returning.
117 (breakpoint_re_set_one): Always free sals.sals.
118
119 2009-01-08 Joel Brobecker <brobecker@adacore.com>
120 Emi Suzuki <emi-suzuki@tjsys.co.jp>
121
122 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
123 watchpoints.
124
125 2009-01-07 Doug Evans <dje@google.com>
126
127 * top.c (gdb_prompt_string): Delete, unused.
128
129 2009-01-07 Pedro Alves <pedro@codesourcery.com>
130
131 Delete ONE_PROCESS_WRITETEXT leftovers.
132
133 * breakpoint.c (insert_bp_location): Delete process_warning
134 argument. Adjust.
135 (insert_breakpoint_locations): Adjust.
136 (reattach_breakpoints): Adjust.
137 * infrun.c (normal_stop): Drop "It might be running in another
138 process" notice.
139
140 2009-01-07 Stan Shebs <stan@codesourcery.com>
141
142 * config/pa/linux.mh (XDEPFILES): Remove.
143
144 2009-01-07 Doug Evans <dje@google.com>
145
146 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
147
148 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
149
150 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
151 spacing, a regression from 2008-04-22.
152
153 2009-01-07 Joel Brobecker <brobecker@adacore.com>
154
155 * utils.c (gdb_print_host_address): Adjust implementation to
156 reuse host_address_to_string. Move comment explaining the conversion
157 from host address to string from here...
158 (host_address_to_string): ... to there.
159
160 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
161
162 * MAINTAINERS: Add myself for write after approval privileges.
163
164 2009-01-06 Tom Tromey <tromey@redhat.com>
165
166 * value.c (set_internalvar): Use value_free, not xfree.
167
168 2009-01-06 Jim Blandy <jimb@red-bean.com>
169
170 Check return values of functions declared with warn_unused_result
171 attribute in GLIBC 2.8.
172 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
173 * inflow.c (check_syscall): New function.
174 (new_tty): Use check_syscall to check return values from open and dup.
175 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
176 * main.c (captured_main): Call cwd after setting up gdb_stderr;
177 check for errors from getcwd.
178 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
179 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
180 (stdio_file_fputs): Same.
181 * utils.c (internal_vproblem): abort if last-ditch error message
182 write fails.
183
184 * top.c (gdb_init): Don't set the current directory here; that's
185 already been done in captured_main.
186
187 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
188
189 * ser-tcp.c: Adjust includes.
190 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
191 (tcp_auto_retry, tcp_retry_limit): Declare.
192 (TIMEOUT): Remove, in favor of tcp_retry_limit.
193 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
194 (wait_for_connect): New function.
195 (net_open): Use it. Add auto-retry logic.
196 (set_tcp_cmd, show_tcp_cmd): New functions.
197 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
198 and "set/show tcp connect-timeout" commands.
199 * NEWS: Document new commands.
200
201 2009-01-05 Tom Tromey <tromey@redhat.com>
202
203 * python/python-internal.h (Py_ssize_t): Define as int.
204
205 2009-01-05 Jim Blandy <jimb@red-bean.com>
206
207 * MAINTAINERS: Fix my e-mail address as steering committee member.
208
209 2009-01-03 Joel Brobecker <brobecker@adacore.com>
210
211 Updated copyright notices for most files.
212
213 2009-01-03 Joel Brobecker <brobecker@adacore.com>
214
215 * top.c (print_gdb_version): Update copyright year.
216
217 2009-01-03 Joel Brobecker <brobecker@adacore.com>
218
219 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
220
221 2009-01-01 Pedro Alves <pedro@codesourcery.com>
222
223 PR breakpoints/9681:
224 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
225 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
226 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
227 retrow all other exceptions.
228
229 For older changes see ChangeLog-2008.
230 \f
231 Local Variables:
232 mode: change-log
233 left-margin: 8
234 fill-column: 74
235 version-control: never
236 coding: utf-8
237 End:
This page took 0.036316 seconds and 5 git commands to generate.