Fix linking with --enable-targets=all:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix linking with --enable-targets=all:
4 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
5 (HFILES_NO_SRCDIR): Add windows-tdep.h.
6 (ALLDEPFILES): Add windows-tdep.c.
7
8 2009-01-11 Christ Faylor <me.gdb@cgf.cx>
9
10 * win32-nat.h: Delete.
11 * windows-nat.h: Rename from win32-nat.h.
12 * win32-nat.c: Delete.
13 * windows-nat.c: Rename from win32-nat.c.
14 * win32-termcap.c: Delete.
15 * windows-termcap.c: Rename from win32-termcap.c.
16 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
17 * configure.ac: Handle rename from win32-termcap.c ->
18 windows-termcap.c.
19 * configure: Regenerate.
20 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
21 -> windows-termcap.c.
22 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
23 windows-tdep.h.
24 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
25 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
26 windows-tdep.h.
27 (win32_make_so): Handle cygwin compiler warning due to change of
28 load_addr from DWORD to LPVOID.
29 (handle_load_dll): Use %p in format string to properly print address
30 and avoid a compiler warning.
31 (DEBUG_EXCEPTION_SIMPLE): Ditto.
32 (handle_exception): Ditto.
33 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
34 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
35 windows-nat.o.
36 * config/i386/mingw.mh: Ditto.
37 * config/i386/mingw64.mh: Ditto.
38
39 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
40
41 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
42 arrayprint_recurse_level to a parameter. Update all the callers. New
43 comment at autovariables.
44
45 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
48 coding style.
49
50 2009-01-11 Joel Brobecker <brobecker@adacore.com>
51
52 * target.c (target_xfer_partial): Use host_address_to_string to
53 print the address of readbuf and writebuf. Cast the address of
54 elements inside the myaddr buffer into intptr_t.
55 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
56 Cast the address of elements inside the myaddr buffer into
57 intptr_t.
58
59 2009-01-11 Joel Brobecker <brobecker@adacore.com>
60
61 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
62 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
63 * configure.host, configure.tgt: Add handling for x86_64/windows.
64 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
65 and amd64-windows-tdep.c.
66
67 2009-01-11 Joel Brobecker <brobecker@adacore.com>
68
69 * win32-tdep.h, win32-tdep.c: New files.
70 * i386-cygwin-tdep.h: Delete.
71 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
72 i386-cygwin-tdep.h.
73 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
74 * win32-nat.c: Likewise.
75 * configure.tgt: Add win32-tdep.o to the list of target object
76 files for i386-cygwin and i386-mingw targets.
77
78 2009-01-11 Joel Brobecker <brobecker@adacore.com>
79
80 * win32-nat.h: New file.
81 * win32-nat.c (mappings): Initialize to NULL.
82 (win32_set_context_register_offsets): New function.
83 * i386-windows-nat.c: New file.
84 (mappings): Moved here from win32-nat.c.
85 (_initialize_i386_windows_nat): New function.
86 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
87 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
88
89 2009-01-09 Andreas Schwab <schwab@suse.de>
90
91 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
92
93 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
94
95 * gdbtypes.c (append_composite_type_field): Correct the location of
96 appended fields.
97
98 2009-01-09 Pedro Alves <pedro@codesourcery.com>
99
100 * defs.h (deprecated_error_hook): Delete declaration.
101 * interps.c (clear_interpreter_hooks): Adjust.
102 * remote-sim.c (gdb_os_error): Don't try to call
103 deprecated_error_hook. No need to call exit anymore.
104 * top.c (deprecated_error_hook): Delete.
105
106 2009-01-09 Joel Brobecker <brobecker@adacore.com>
107
108 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
109 to print the address of the gdbarch pointer.
110
111 2009-01-09 Joel Brobecker <brobecker@adacore.com>
112
113 * gdbarch.sh: Fix all the compilation errors on amd64-windows
114 due to casting a pointer to a long when printing a function
115 address. Instead, use host_address_to_string to convert our
116 address to a string.
117 * gdbarch.c: Regenerate.
118
119 2009-01-09 Joel Brobecker <brobecker@adacore.com>
120
121 * event-top.c (async_disconnect, async_stop_sig): use "raise"
122 instead of "kill" to raise a signal.
123
124 2009-01-09 Joel Brobecker <brobecker@adacore.com>
125
126 * win32-nat.c (get_module_name): Change the type of parameter
127 "base_address" to LPVOID. Remove unnecessary cast.
128 (struct lm_info): Change type of load_addr to LPVOID.
129 (win32_make_so): Change the type of parameter "load_addr"
130 to LPVOID. Remove some unnecessary casts.
131 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
132 (win32_xfer_shared_libraries): Add missing cast.
133
134 2009-01-09 Joel Brobecker <brobecker@adacore.com>
135
136 * win32-nat.c (has_detach_ability, set_process_privilege):
137 Cast the result of GetProcAddress to (void *) to avoid
138 a compilation warning.
139
140 2009-01-09 Joel Brobecker <brobecker@adacore.com>
141
142 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
143 already defined.
144
145 2009-01-09 Joel Brobecker <brobecker@adacore.com>
146
147 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
148 definition of local variable "done".
149 (info_w32_command, handle_exception): Remove unnecessary cast.
150
151 2009-01-09 Joel Brobecker <brobecker@adacore.com>
152
153 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
154 DebugSetProcessKillOnExit. Update all uses in this file.
155 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
156 Update all uses in this file.
157
158 2009-01-09 Joel Brobecker <brobecker@adacore.com>
159
160 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
161 and use it when pushing the target.
162 (win32_attach, win32_create_inferior): Update call to
163 do_initial_win32_stuff.
164 (win32_detach, win32_mourn_inferior): Use our ops parameter
165 instead of the global win32_ops to unpush the target.
166
167 2009-01-09 Joel Brobecker <brobecker@adacore.com>
168
169 * ser-mingw.c (ser_windows_open): Use proper type when casting
170 in call to _open_osfhandle.
171
172 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
173
174 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
175
176 2009-01-09 Joel Brobecker <brobecker@adacore.com>
177
178 * CONTRIBUTE: Minor reformatting.
179
180 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
181
182 * MAINTAINERS: Add myself to Write After Approval.
183 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
184 export directory.
185
186 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
187
188 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
189 Call exit to make it obvious to GCC.
190
191 2009-01-08 Tom Tromey <tromey@redhat.com>
192
193 PR breakpoints/9350:
194 * varobj.c (varobj_invalidate): Unconditionally free
195 all_rootvarobj.
196 * symfile.c (syms_from_objfile): Free local_addr when returning
197 normally.
198 * exec.c (exec_file_attach): Do cleanups before returning.
199 (exec_file_command): Likewise.
200 * corefile.c (reopen_exec_file): Do cleanups before returning.
201 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
202 returning.
203 (do_vec_free): New function.
204 (update_global_location_list): Make a cleanup for old_locations.
205 Do cleanups before returning. Remove unused variable 'e'.
206 (find_condition_and_thread): Free result of parsing the
207 expression.
208 (print_it_typical): Do cleanups before returning.
209 (breakpoint_re_set_one): Always free sals.sals.
210
211 2009-01-08 Joel Brobecker <brobecker@adacore.com>
212 Emi Suzuki <emi-suzuki@tjsys.co.jp>
213
214 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
215 watchpoints.
216
217 2009-01-07 Doug Evans <dje@google.com>
218
219 * top.c (gdb_prompt_string): Delete, unused.
220
221 2009-01-07 Pedro Alves <pedro@codesourcery.com>
222
223 Delete ONE_PROCESS_WRITETEXT leftovers.
224
225 * breakpoint.c (insert_bp_location): Delete process_warning
226 argument. Adjust.
227 (insert_breakpoint_locations): Adjust.
228 (reattach_breakpoints): Adjust.
229 * infrun.c (normal_stop): Drop "It might be running in another
230 process" notice.
231
232 2009-01-07 Stan Shebs <stan@codesourcery.com>
233
234 * config/pa/linux.mh (XDEPFILES): Remove.
235
236 2009-01-07 Doug Evans <dje@google.com>
237
238 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
239
240 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
241
242 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
243 spacing, a regression from 2008-04-22.
244
245 2009-01-07 Joel Brobecker <brobecker@adacore.com>
246
247 * utils.c (gdb_print_host_address): Adjust implementation to
248 reuse host_address_to_string. Move comment explaining the conversion
249 from host address to string from here...
250 (host_address_to_string): ... to there.
251
252 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
253
254 * MAINTAINERS: Add myself for write after approval privileges.
255
256 2009-01-06 Tom Tromey <tromey@redhat.com>
257
258 * value.c (set_internalvar): Use value_free, not xfree.
259
260 2009-01-06 Jim Blandy <jimb@red-bean.com>
261
262 Check return values of functions declared with warn_unused_result
263 attribute in GLIBC 2.8.
264 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
265 * inflow.c (check_syscall): New function.
266 (new_tty): Use check_syscall to check return values from open and dup.
267 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
268 * main.c (captured_main): Call cwd after setting up gdb_stderr;
269 check for errors from getcwd.
270 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
271 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
272 (stdio_file_fputs): Same.
273 * utils.c (internal_vproblem): abort if last-ditch error message
274 write fails.
275
276 * top.c (gdb_init): Don't set the current directory here; that's
277 already been done in captured_main.
278
279 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
280
281 * ser-tcp.c: Adjust includes.
282 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
283 (tcp_auto_retry, tcp_retry_limit): Declare.
284 (TIMEOUT): Remove, in favor of tcp_retry_limit.
285 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
286 (wait_for_connect): New function.
287 (net_open): Use it. Add auto-retry logic.
288 (set_tcp_cmd, show_tcp_cmd): New functions.
289 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
290 and "set/show tcp connect-timeout" commands.
291 * NEWS: Document new commands.
292
293 2009-01-05 Tom Tromey <tromey@redhat.com>
294
295 * python/python-internal.h (Py_ssize_t): Define as int.
296
297 2009-01-05 Jim Blandy <jimb@red-bean.com>
298
299 * MAINTAINERS: Fix my e-mail address as steering committee member.
300
301 2009-01-03 Joel Brobecker <brobecker@adacore.com>
302
303 Updated copyright notices for most files.
304
305 2009-01-03 Joel Brobecker <brobecker@adacore.com>
306
307 * top.c (print_gdb_version): Update copyright year.
308
309 2009-01-03 Joel Brobecker <brobecker@adacore.com>
310
311 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
312
313 2009-01-01 Pedro Alves <pedro@codesourcery.com>
314
315 PR breakpoints/9681:
316 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
317 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
318 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
319 retrow all other exceptions.
320
321 For older changes see ChangeLog-2008.
322 \f
323 Local Variables:
324 mode: change-log
325 left-margin: 8
326 fill-column: 74
327 version-control: never
328 coding: utf-8
329 End:
This page took 0.04464 seconds and 4 git commands to generate.