Fix a typo.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
773698b5
JB
12009-01-13 Mark Kettenis <kettenis@gnu.org>
2
3 * utils.c (host_address_to_string): Reimplement in a way that
4 avoids the cast of the address to long.
5
9918cab9
JB
62009-01-13 Joel Brobecker <brobecker@adacore.com>
7
8 * mdebugread.c (parse_symbol): Save the symbol private data
9 using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
10 (psymtab_to_symtab_1): Likewise.
11 (parse_procedure): Declare variable "e" only in the scope
12 where it is used. Extract the symbol private data using
13 SYMBOL_VALUE_BYTES.
14
74bcbdf3
PA
152009-01-13 Jim Blandy <jimb@codesourcery.com>
16
17 Abstract out common code for copying value locations.
18
19 * value.h (set_value_component_location): New declaration.
20 * value.c (set_value_component_location): New function.
21 (value_primitive_field): Use it.
22 * valarith.c (value_subscript, value_subscripted_rvalue): Same.
23 * valops.c (search_struct_field, value_slice): Same.
24 * ada-lang.c (coerce_unspec_val_to_type)
25 (ada_value_primitive_packed_val): Same.
26
d7dc3873
JB
272009-01-13 Joel Brobecker <brobecker@adacore.com>
28
29 * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
30
dc05df57
CF
312009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
32
33 * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
34 throughout.
35 * i386-cygwin-tdep.c: Ditto.
36 * i386-windows-nat.c: Ditto.
37 * windows-nat.h: Ditto.
38 * windows-tdep.c: Ditto.
39 * windows-tdep.h: Ditto.
40 * windows-nat.c: Ditto.
41 (cygwin_load_start): Redefine as CORE_ADDR.
42 (cygwin_load_end): Ditto.
43 (windows_make_so): Coerce result of address arithmetic to to uintptr_t
44 before coercing to CORE_ADDR to avoid a compiler warning.
45 (handle_exception): Define addr as CORE_ADDR and coerce
46 ExceptionAddress to uintptr_t before assigining to avoid a compiler
47 warning.
48 * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
49 files.
50
31b060a2
CF
512009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 Fix linking with --enable-targets=all:
54 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
55 (HFILES_NO_SRCDIR): Add windows-tdep.h.
56 (ALLDEPFILES): Add windows-tdep.c.
57
582009-01-11 Christ Faylor <me.gdb@cgf.cx>
59
60 * win32-nat.h: Delete.
61 * windows-nat.h: Rename from win32-nat.h.
62 * win32-nat.c: Delete.
63 * windows-nat.c: Rename from win32-nat.c.
64 * win32-termcap.c: Delete.
65 * windows-termcap.c: Rename from win32-termcap.c.
66 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
67 * configure.ac: Handle rename from win32-termcap.c ->
68 windows-termcap.c.
69 * configure: Regenerate.
70 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
71 -> windows-termcap.c.
72 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
73 windows-tdep.h.
74 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
75 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
76 windows-tdep.h.
77 (win32_make_so): Handle cygwin compiler warning due to change of
78 load_addr from DWORD to LPVOID.
79 (handle_load_dll): Use %p in format string to properly print address
80 and avoid a compiler warning.
81 (DEBUG_EXCEPTION_SIMPLE): Ditto.
82 (handle_exception): Ditto.
83 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
84 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
85 windows-nat.o.
86 * config/i386/mingw.mh: Ditto.
87 * config/i386/mingw64.mh: Ditto.
88
0311118f
JK
892009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
92 arrayprint_recurse_level to a parameter. Update all the callers. New
93 comment at autovariables.
94
5f61c20e
JK
952009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
96
97 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
98 coding style.
99
1002009-01-11 Joel Brobecker <brobecker@adacore.com>
53b71562
JB
101
102 * target.c (target_xfer_partial): Use host_address_to_string to
103 print the address of readbuf and writebuf. Cast the address of
104 elements inside the myaddr buffer into intptr_t.
105 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
106 Cast the address of elements inside the myaddr buffer into
107 intptr_t.
108
5f61c20e 1092009-01-11 Joel Brobecker <brobecker@adacore.com>
d0761299
JB
110
111 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
112 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
113 * configure.host, configure.tgt: Add handling for x86_64/windows.
114 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
115 and amd64-windows-tdep.c.
116
5f61c20e 1172009-01-11 Joel Brobecker <brobecker@adacore.com>
bfb87e33
JB
118
119 * win32-tdep.h, win32-tdep.c: New files.
120 * i386-cygwin-tdep.h: Delete.
121 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
122 i386-cygwin-tdep.h.
123 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
124 * win32-nat.c: Likewise.
125 * configure.tgt: Add win32-tdep.o to the list of target object
126 files for i386-cygwin and i386-mingw targets.
127
5f61c20e 1282009-01-11 Joel Brobecker <brobecker@adacore.com>
7e63b4e4
JB
129
130 * win32-nat.h: New file.
131 * win32-nat.c (mappings): Initialize to NULL.
132 (win32_set_context_register_offsets): New function.
133 * i386-windows-nat.c: New file.
134 (mappings): Moved here from win32-nat.c.
135 (_initialize_i386_windows_nat): New function.
136 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
137 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
138
25fc6591
AS
1392009-01-09 Andreas Schwab <schwab@suse.de>
140
141 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
142
87f70781
PA
1432009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
144
145 * gdbtypes.c (append_composite_type_field): Correct the location of
146 appended fields.
147
58d4abe1
PA
1482009-01-09 Pedro Alves <pedro@codesourcery.com>
149
150 * defs.h (deprecated_error_hook): Delete declaration.
151 * interps.c (clear_interpreter_hooks): Adjust.
152 * remote-sim.c (gdb_os_error): Don't try to call
153 deprecated_error_hook. No need to call exit anymore.
154 * top.c (deprecated_error_hook): Delete.
155
e3cb3832
JB
1562009-01-09 Joel Brobecker <brobecker@adacore.com>
157
158 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
159 to print the address of the gdbarch pointer.
160
30737ed9
JB
1612009-01-09 Joel Brobecker <brobecker@adacore.com>
162
163 * gdbarch.sh: Fix all the compilation errors on amd64-windows
164 due to casting a pointer to a long when printing a function
165 address. Instead, use host_address_to_string to convert our
166 address to a string.
167 * gdbarch.c: Regenerate.
168
ec4dfccf
JB
1692009-01-09 Joel Brobecker <brobecker@adacore.com>
170
171 * event-top.c (async_disconnect, async_stop_sig): use "raise"
172 instead of "kill" to raise a signal.
173
d3653bf6
JB
1742009-01-09 Joel Brobecker <brobecker@adacore.com>
175
176 * win32-nat.c (get_module_name): Change the type of parameter
177 "base_address" to LPVOID. Remove unnecessary cast.
178 (struct lm_info): Change type of load_addr to LPVOID.
179 (win32_make_so): Change the type of parameter "load_addr"
180 to LPVOID. Remove some unnecessary casts.
181 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
182 (win32_xfer_shared_libraries): Add missing cast.
183
308a8808
JB
1842009-01-09 Joel Brobecker <brobecker@adacore.com>
185
186 * win32-nat.c (has_detach_ability, set_process_privilege):
187 Cast the result of GetProcAddress to (void *) to avoid
188 a compilation warning.
189
5851ab76
JB
1902009-01-09 Joel Brobecker <brobecker@adacore.com>
191
192 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
193 already defined.
194
5732a500
JB
1952009-01-09 Joel Brobecker <brobecker@adacore.com>
196
197 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
198 definition of local variable "done".
199 (info_w32_command, handle_exception): Remove unnecessary cast.
200
def4de3a
JB
2012009-01-09 Joel Brobecker <brobecker@adacore.com>
202
203 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
204 DebugSetProcessKillOnExit. Update all uses in this file.
205 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
206 Update all uses in this file.
207
2082009-01-09 Joel Brobecker <brobecker@adacore.com>
0795be10
JB
209
210 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
211 and use it when pushing the target.
212 (win32_attach, win32_create_inferior): Update call to
213 do_initial_win32_stuff.
214 (win32_detach, win32_mourn_inferior): Use our ops parameter
215 instead of the global win32_ops to unpush the target.
216
1be7fe8d
JB
2172009-01-09 Joel Brobecker <brobecker@adacore.com>
218
219 * ser-mingw.c (ser_windows_open): Use proper type when casting
220 in call to _open_osfhandle.
221
1dac1b47
KT
2222009-01-09 Kai Tietz <kai.tietz@onevision.com>
223
224 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
225
ecf180db
JB
2262009-01-09 Joel Brobecker <brobecker@adacore.com>
227
228 * CONTRIBUTE: Minor reformatting.
229
8234eceb
KT
2302009-01-08 Kai Tietz <kai.tietz@onevision.com>
231
232 * MAINTAINERS: Add myself to Write After Approval.
a68ddad5
KT
233 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
234 export directory.
8234eceb 235
72ee8797
NF
2362009-01-08 Nathan Froyd <froydnj@codesourcery.com>
237
238 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
239 Call exit to make it obvious to GCC.
240
f7545552
TT
2412009-01-08 Tom Tromey <tromey@redhat.com>
242
243 PR breakpoints/9350:
244 * varobj.c (varobj_invalidate): Unconditionally free
245 all_rootvarobj.
246 * symfile.c (syms_from_objfile): Free local_addr when returning
247 normally.
248 * exec.c (exec_file_attach): Do cleanups before returning.
249 (exec_file_command): Likewise.
250 * corefile.c (reopen_exec_file): Do cleanups before returning.
251 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
252 returning.
253 (do_vec_free): New function.
254 (update_global_location_list): Make a cleanup for old_locations.
255 Do cleanups before returning. Remove unused variable 'e'.
256 (find_condition_and_thread): Free result of parsing the
257 expression.
258 (print_it_typical): Do cleanups before returning.
259 (breakpoint_re_set_one): Always free sals.sals.
260
dde02812
ES
2612009-01-08 Joel Brobecker <brobecker@adacore.com>
262 Emi Suzuki <emi-suzuki@tjsys.co.jp>
263
264 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
265 watchpoints.
266
69bcc6bc
DE
2672009-01-07 Doug Evans <dje@google.com>
268
269 * top.c (gdb_prompt_string): Delete, unused.
270
fa3a767f
PA
2712009-01-07 Pedro Alves <pedro@codesourcery.com>
272
273 Delete ONE_PROCESS_WRITETEXT leftovers.
274
275 * breakpoint.c (insert_bp_location): Delete process_warning
276 argument. Adjust.
277 (insert_breakpoint_locations): Adjust.
278 (reattach_breakpoints): Adjust.
279 * infrun.c (normal_stop): Drop "It might be running in another
280 process" notice.
281
7b93f36d
SS
2822009-01-07 Stan Shebs <stan@codesourcery.com>
283
284 * config/pa/linux.mh (XDEPFILES): Remove.
285
0380c18b
DE
2862009-01-07 Doug Evans <dje@google.com>
287
288 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
289
60023297
JK
2902009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
293 spacing, a regression from 2008-04-22.
294
ea8992ce
JB
2952009-01-07 Joel Brobecker <brobecker@adacore.com>
296
297 * utils.c (gdb_print_host_address): Adjust implementation to
298 reuse host_address_to_string. Move comment explaining the conversion
299 from host address to string from here...
300 (host_address_to_string): ... to there.
301
301d2c47
ES
3022009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
303
304 * MAINTAINERS: Add myself for write after approval privileges.
305
170ce852
TT
3062009-01-06 Tom Tromey <tromey@redhat.com>
307
308 * value.c (set_internalvar): Use value_free, not xfree.
309
fdb7262a
JB
3102009-01-06 Jim Blandy <jimb@red-bean.com>
311
bf1d7d9c
JB
312 Check return values of functions declared with warn_unused_result
313 attribute in GLIBC 2.8.
314 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
315 * inflow.c (check_syscall): New function.
316 (new_tty): Use check_syscall to check return values from open and dup.
317 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
318 * main.c (captured_main): Call cwd after setting up gdb_stderr;
319 check for errors from getcwd.
320 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
321 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
322 (stdio_file_fputs): Same.
323 * utils.c (internal_vproblem): abort if last-ditch error message
324 write fails.
325
fdb7262a
JB
326 * top.c (gdb_init): Don't set the current directory here; that's
327 already been done in captured_main.
328
84603566
SL
3292009-01-06 Sandra Loosemore <sandra@codesourcery.com>
330
331 * ser-tcp.c: Adjust includes.
332 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
333 (tcp_auto_retry, tcp_retry_limit): Declare.
334 (TIMEOUT): Remove, in favor of tcp_retry_limit.
335 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
336 (wait_for_connect): New function.
337 (net_open): Use it. Add auto-retry logic.
338 (set_tcp_cmd, show_tcp_cmd): New functions.
339 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
340 and "set/show tcp connect-timeout" commands.
341 * NEWS: Document new commands.
342
5171e6b3
TT
3432009-01-05 Tom Tromey <tromey@redhat.com>
344
345 * python/python-internal.h (Py_ssize_t): Define as int.
346
a367a1f2
JB
3472009-01-05 Jim Blandy <jimb@red-bean.com>
348
349 * MAINTAINERS: Fix my e-mail address as steering committee member.
350
0fb0cc75
JB
3512009-01-03 Joel Brobecker <brobecker@adacore.com>
352
353 Updated copyright notices for most files.
354
c9fc347d
JB
3552009-01-03 Joel Brobecker <brobecker@adacore.com>
356
357 * top.c (print_gdb_version): Update copyright year.
358
a85d99b4
JB
3592009-01-03 Joel Brobecker <brobecker@adacore.com>
360
361 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
362
4d78a120
JB
3632009-01-01 Pedro Alves <pedro@codesourcery.com>
364
365 PR breakpoints/9681:
366 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
367 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
368 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
369 retrow all other exceptions.
370
67de2a4c 371For older changes see ChangeLog-2008.
c906108c
SS
372\f
373Local Variables:
374mode: change-log
375left-margin: 8
376fill-column: 74
377version-control: never
57da7796 378coding: utf-8
c906108c 379End:
This page took 1.025036 seconds and 4 git commands to generate.