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