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