Commit | Line | Data |
---|---|---|
0516318b PA |
1 | 2009-01-24 Pedro Alves <pedro@codesourcery.com> |
2 | ||
3 | * infrun.c (normal_stop): Don't call | |
4 | deprecated_update_frame_pc_hack. | |
5 | * frame.c (deprecated_update_frame_pc_hack) | |
6 | (deprecated_update_frame_base_hack): Delete, and ... | |
7 | (create_new_frame): ... inline here. | |
8 | * frame.h (deprecated_update_frame_pc_hack) | |
9 | (deprecated_update_frame_base_hack): Delete declarations. | |
10 | ||
1e8fb976 PA |
11 | 2009-01-23 Pedro Alves <pedro@codesourcery.com> |
12 | ||
13 | * cli/cli-decode.c (add_setshow_zuinteger_cmd): New. | |
14 | * cli/cli-setshow.c (do_setshow_command): Handle it. | |
15 | * command.h (enum var_types): Add var_zuinteger. | |
16 | (add_setshow_zuinteger_cmd): Declare. | |
17 | ||
18 | * valprint.c (_initialize_valprint): Change the set input-radix | |
19 | and set output-radix commands to zuinteger type. | |
20 | ||
dd7e2d2b PA |
21 | 2009-01-23 Pedro Alves <pedro@codesourcery.com> |
22 | ||
23 | PR gdb/9664: | |
24 | * infrun.c (normal_stop): Tag threads as stopped, and run the | |
25 | hook-stop before printing the stack frame. | |
26 | ||
392452f6 PA |
27 | 2009-01-22 Pedro Alves <pedro@codesourcery.com> |
28 | ||
29 | PR c++/9631: | |
30 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on | |
31 | vbasetype. | |
32 | ||
f6a96b83 KH |
33 | 2009-01-20 Kazu Hirata <kazu@codesourcery.com> |
34 | ||
35 | * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to | |
36 | unsigned long. | |
37 | ||
5d277928 | 38 | 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
a12cc160 DJ |
39 | |
40 | PR gdb/9346 | |
41 | * infcmd.c (signal_command): Do not specify a resume PC. | |
42 | ||
b89667eb DE |
43 | 2009-01-19 Doug Evans <dje@google.com> |
44 | ||
45 | * dummy-frame.c (dummy_frame): Replace regcache member with | |
46 | caller_state. | |
47 | (dummy_frame_push): Replace caller_regcache arg with caller_state. | |
48 | All callers updated. | |
49 | (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns. | |
50 | (dummy_frame_pop): Rewrite. Verify requested frame is in the | |
51 | dummy frame stack. Restore program state. | |
52 | (cleanup_dummy_frames): Rewrite. | |
53 | (dummy_frame_sniffer): Update. Make static. | |
54 | * dummy-frame.h (regcache,frame_info): Delete forward decls. | |
55 | (inferior_thread_state): New forward decl. | |
56 | (dummy_frame_push): Update prototype. | |
57 | * frame.c (frame_pop): dummy_frame_pop now does all the work for | |
58 | DUMMY_FRAMEs. | |
59 | * infcall.c (breakpoint_auto_delete_contents): Delete. | |
60 | (get_function_name,run_inferior_call): New fns. | |
61 | (call_function_by_hand): Simplify by moving some code to | |
62 | get_function_name, run_inferior_call. Inferior function call wrapped | |
63 | in TRY_CATCH so there's less need for cleanups and all exits from | |
64 | proceed are handled similarily. Detect program exit. | |
65 | Detect program stopping in a different thread. | |
66 | Make error messages more consistent. | |
67 | * inferior.h (inferior_thread_state): Declare (opaque type). | |
68 | (save_inferior_thread_state,restore_inferior_thread_state, | |
69 | make_cleanup_restore_inferior_thread_state, | |
70 | discard_inferior_thread_state, get_inferior_thread_state_regcache): | |
71 | Declare. | |
72 | (save_inferior_status): Update prototype. | |
73 | * infrun.c: (normal_stop): When stopped for the completion of an | |
74 | inferior function call, verify the expected stack frame kind. | |
75 | (inferior_thread_state): New struct. | |
76 | (save_inferior_thread_state,restore_inferior_thread_state, | |
77 | do_restore_inferior_thread_state_cleanup, | |
78 | make_cleanup_restore_inferior_thread_state, | |
79 | discard_inferior_thread_state, | |
80 | get_inferior_thread_state_regcache): New functions. | |
81 | (inferior_status): Move stop_signal, stop_pc, registers to | |
82 | inferior_thread_state. Remove restore_stack_info. | |
83 | (save_inferior_status): Remove arg restore_stack_info. | |
84 | All callers updated. Remove saving of state now saved by | |
85 | save_inferior_thread_state. | |
86 | (restore_inferior_status): Remove restoration of state now done by | |
87 | restore_inferior_thread_state. | |
88 | (discard_inferior_status): Remove freeing of registers, now done by | |
89 | discard_inferior_thread_state. | |
90 | ||
aefc7064 PA |
91 | 2009-01-18 Pedro Alves <pedro@codesourcery.com> |
92 | ||
93 | * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line | |
94 | at a time, times NUM_TO_SCROLL. | |
95 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to | |
96 | fetch the selected frame if there is no stack. | |
97 | ||
29f49a6a PA |
98 | 2009-01-18 Pedro Alves <pedro@codesourcery.com> |
99 | ||
100 | PR gdb/9747: | |
101 | * gdbthread.h (finish_thread_state, finish_thread_state_cleanup): | |
102 | Declare. | |
103 | * thread.c (finish_thread_state, finish_thread_state_cleanup): New. | |
104 | * infrun.c (wait_for_inferior, fetch_inferior_event): If an error | |
105 | is thrown while handling an event, finish the thread state. | |
106 | (normal_stop): Use finish_thread_state cleanup. | |
107 | * infcmd.c (run_command_1): If an error is thrown while starting | |
108 | the inferior, finish the thread state. | |
109 | ||
e7243d73 PA |
110 | 2009-01-18 Pedro Alves <pedro@codesourcery.com> |
111 | ||
112 | * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout, | |
113 | skip breakpoints without a location (pending breakpoints). | |
114 | ||
e74994b5 PA |
115 | 2009-01-18 Pedro Alves <pedro@codesourcery.com> |
116 | ||
117 | PR build/9186: | |
118 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'. | |
119 | ||
8405c36e NR |
120 | 2009-01-18 Nick Roberts <nickrob@snap.net.nz> |
121 | ||
122 | * thread.c (thread_command): Move call to annotate_thread_changed | |
123 | to... | |
124 | (do_captured_thread_select): ... here, to avoid printing an | |
125 | annotation if the thread change generates an exception. | |
126 | ||
b8bfd3ed JB |
127 | 2009-01-16 Joel Brobecker <brobecker@adacore.com> |
128 | ||
129 | * NEWS: Document x86_64/MinGW as a new native configuration. | |
130 | ||
2dde91e9 JB |
131 | 2009-01-16 Joel Brobecker <brobecker@adacore.com> |
132 | ||
133 | * NEWS: Move the documentation of "info os processes" to | |
134 | the appropriate section (documenting the new commands). | |
135 | ||
54363045 DE |
136 | 2009-01-15 Doug Evans <dje@google.com> |
137 | ||
138 | * target.h (target_signal_to_string): Make return type const char *. | |
139 | (target_signal_to_name): Ditto. | |
140 | (target_signal_from_name): Make arg const char *. | |
54363045 | 141 | * infrun.c (sig_print_info): Update. |
54363045 DE |
142 | * signals/signals.c (signals): Make array and struct members const. |
143 | (target_signal_to_string): Make return type const char *. | |
144 | (target_signal_to_name): Ditto. | |
145 | (target_signal_from_name): Make arg const char *. | |
146 | ||
572d275c UW |
147 | 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com> |
148 | Tristan Gingold <gingold@adacore.com> | |
149 | ||
150 | * solist.h (struct target_so_ops): New member bfd_open. | |
151 | (solib_find): Add prototype. | |
152 | (solib_bfd_fopen): Add prototype. | |
153 | * solib.c (solib_find, solib_bfd_fopen): New functions, extracted | |
154 | from solib_bfd_open. | |
155 | (solib_bfd_open): Use ops->bfd_open override if present. Call | |
156 | solib_find and solib_bfd_open otherwise. | |
157 | ||
158 | * objfiles.h (OBJF_KEEPBFD): New define. | |
159 | * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD | |
160 | objfile flag is set. | |
161 | * solib.c (symbol_add_stub): Do not allocate second BFD for | |
162 | shared library; use OBJF_KEEPBFD flag on solib objfile. | |
163 | ||
0701b271 UW |
164 | 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com> |
165 | ||
166 | * frame.c (get_frame_arch): Abort if called with NULL this_frame. | |
167 | ||
61212c0f UW |
168 | 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com> |
169 | ||
170 | * value.h (address_of_variable): Add prototype. | |
171 | (locate_var_value): Remove prototype. | |
172 | ||
173 | * findvar.c (read_var_value): Do not attempt to default frame | |
174 | to selected frame. | |
175 | (locate_var_value): Remove function. | |
176 | * valops.c (value_of_variable): Retrieve selected frame for | |
177 | symbols that require a frame when called with NULL block. | |
178 | * valops.c (address_of_variable): New function. | |
179 | ||
180 | * eval.c (evaluate_subexp_for_address): Call address_of_variable | |
181 | instead of calling locate_var_value. | |
182 | (evaluate_subexp_with_coercion): Likewise. | |
183 | ||
adb483fe DJ |
184 | 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com> |
185 | ||
186 | * NEWS: Document "define" for prefixed commands. | |
187 | * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call | |
188 | show_user_1 for prefix commands. | |
189 | * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined". | |
190 | * cli/cli-script.c (validate_comname): Rewrite to handle prefix | |
191 | commands. Return the containing command list. | |
192 | (define_command, document_command): Update to handle prefix commands. | |
193 | (show_user_1): Add prefix and name arguments. Handle prefix | |
194 | commands. | |
195 | * cli/cli-script.h (show_user_1): Update prototype. | |
196 | ||
a32d7317 KT |
197 | 2009-01-14 Kai Tietz <kai.tietz@onevision.com> |
198 | ||
199 | * mingw-ser.c (console_select_thread): Add return to make | |
200 | compiler happy. | |
201 | (pipe_select_thread): Likewise. | |
202 | (file_select_thread): Likewise. | |
203 | ||
041d0fd7 PA |
204 | 2009-01-14 Pedro Alves <pedro@codesourcery.com> |
205 | ||
206 | * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from | |
207 | previous change. | |
208 | ||
dc1981d7 PA |
209 | 2009-01-14 Pedro Alves <pedro@codesourcery.com> |
210 | ||
211 | * remote.c (extended_remote_mourn_1): Invalidate our notion of | |
212 | current general thread. | |
213 | ||
244bf9ae PA |
214 | 2009-01-14 Pedro Alves <pedro@codesourcery.com> |
215 | ||
216 | * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups | |
217 | without a live selected thread. | |
218 | ||
e4d013fc JB |
219 | 2009-01-14 Joel Brobecker <brobecker@adacore.com> |
220 | ||
221 | Update the copyright notice of some of the files I missed | |
222 | in the previous copyright update. | |
223 | ||
a588db63 JB |
224 | 2009-01-14 Joel Brobecker <brobecker@adacore.com> |
225 | ||
226 | * windows-nat.c (handle_unload_dll): Use %p to print the DLL | |
227 | base address instead of casting it to DWORD. | |
228 | ||
77a732d9 UW |
229 | 2009-01-13 Ulrich Weigand <uweigand@de.ibm.com> |
230 | ||
231 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch | |
232 | for NULL frame pointers. | |
233 | ||
773698b5 JB |
234 | 2009-01-13 Mark Kettenis <kettenis@gnu.org> |
235 | ||
236 | * utils.c (host_address_to_string): Reimplement in a way that | |
237 | avoids the cast of the address to long. | |
238 | ||
9918cab9 JB |
239 | 2009-01-13 Joel Brobecker <brobecker@adacore.com> |
240 | ||
241 | * mdebugread.c (parse_symbol): Save the symbol private data | |
242 | using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE. | |
243 | (psymtab_to_symtab_1): Likewise. | |
244 | (parse_procedure): Declare variable "e" only in the scope | |
245 | where it is used. Extract the symbol private data using | |
246 | SYMBOL_VALUE_BYTES. | |
247 | ||
74bcbdf3 PA |
248 | 2009-01-13 Jim Blandy <jimb@codesourcery.com> |
249 | ||
250 | Abstract out common code for copying value locations. | |
251 | ||
252 | * value.h (set_value_component_location): New declaration. | |
253 | * value.c (set_value_component_location): New function. | |
254 | (value_primitive_field): Use it. | |
255 | * valarith.c (value_subscript, value_subscripted_rvalue): Same. | |
256 | * valops.c (search_struct_field, value_slice): Same. | |
257 | * ada-lang.c (coerce_unspec_val_to_type) | |
258 | (ada_value_primitive_packed_val): Same. | |
259 | ||
d7dc3873 JB |
260 | 2009-01-13 Joel Brobecker <brobecker@adacore.com> |
261 | ||
262 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey. | |
263 | ||
dc05df57 CF |
264 | 2009-01-12 Christopher Faylor <me+cygwin@cgf.cx> |
265 | ||
266 | * amd64-windows-nat.c Rename gdb-specific win32_* to windows_* | |
267 | throughout. | |
268 | * i386-cygwin-tdep.c: Ditto. | |
269 | * i386-windows-nat.c: Ditto. | |
270 | * windows-nat.h: Ditto. | |
271 | * windows-tdep.c: Ditto. | |
272 | * windows-tdep.h: Ditto. | |
273 | * windows-nat.c: Ditto. | |
274 | (cygwin_load_start): Redefine as CORE_ADDR. | |
275 | (cygwin_load_end): Ditto. | |
276 | (windows_make_so): Coerce result of address arithmetic to to uintptr_t | |
277 | before coercing to CORE_ADDR to avoid a compiler warning. | |
278 | (handle_exception): Define addr as CORE_ADDR and coerce | |
279 | ExceptionAddress to uintptr_t before assigining to avoid a compiler | |
280 | warning. | |
281 | * config/djgpp/fnchange.lst: Add mappings for recently renamed windows | |
282 | files. | |
283 | ||
31b060a2 CF |
284 | 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
285 | ||
286 | Fix linking with --enable-targets=all: | |
287 | * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o. | |
288 | (HFILES_NO_SRCDIR): Add windows-tdep.h. | |
289 | (ALLDEPFILES): Add windows-tdep.c. | |
290 | ||
291 | 2009-01-11 Christ Faylor <me.gdb@cgf.cx> | |
292 | ||
293 | * win32-nat.h: Delete. | |
294 | * windows-nat.h: Rename from win32-nat.h. | |
295 | * win32-nat.c: Delete. | |
296 | * windows-nat.c: Rename from win32-nat.c. | |
297 | * win32-termcap.c: Delete. | |
298 | * windows-termcap.c: Rename from win32-termcap.c. | |
299 | * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h. | |
300 | * configure.ac: Handle rename from win32-termcap.c -> | |
301 | windows-termcap.c. | |
302 | * configure: Regenerate. | |
303 | * gdb_curses.h: Change comment to reflect rename from win32-termcap.c | |
304 | -> windows-termcap.c. | |
305 | * i386-cygwin-tdep.c: Handle rename from win32-tdep.h -> | |
306 | windows-tdep.h. | |
307 | * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h. | |
308 | * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h -> | |
309 | windows-tdep.h. | |
310 | (win32_make_so): Handle cygwin compiler warning due to change of | |
311 | load_addr from DWORD to LPVOID. | |
312 | (handle_load_dll): Use %p in format string to properly print address | |
313 | and avoid a compiler warning. | |
314 | (DEBUG_EXCEPTION_SIMPLE): Ditto. | |
315 | (handle_exception): Ditto. | |
316 | * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h. | |
317 | * config/i386/cygwin.mh: Handle rename from win32-nat.o -> | |
318 | windows-nat.o. | |
319 | * config/i386/mingw.mh: Ditto. | |
320 | * config/i386/mingw64.mh: Ditto. | |
321 | ||
0311118f JK |
322 | 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
323 | ||
324 | * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable | |
325 | arrayprint_recurse_level to a parameter. Update all the callers. New | |
326 | comment at autovariables. | |
327 | ||
5f61c20e JK |
328 | 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
329 | ||
330 | * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU | |
331 | coding style. | |
332 | ||
333 | 2009-01-11 Joel Brobecker <brobecker@adacore.com> | |
53b71562 JB |
334 | |
335 | * target.c (target_xfer_partial): Use host_address_to_string to | |
336 | print the address of readbuf and writebuf. Cast the address of | |
337 | elements inside the myaddr buffer into intptr_t. | |
338 | (deprecated_debug_xfer_memory): Use paddress to print memaddr. | |
339 | Cast the address of elements inside the myaddr buffer into | |
340 | intptr_t. | |
341 | ||
5f61c20e | 342 | 2009-01-11 Joel Brobecker <brobecker@adacore.com> |
d0761299 JB |
343 | |
344 | * amd64-windows-nat.c, amd64-windows-tdep.c: New files. | |
345 | * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files. | |
346 | * configure.host, configure.tgt: Add handling for x86_64/windows. | |
347 | * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c | |
348 | and amd64-windows-tdep.c. | |
349 | ||
5f61c20e | 350 | 2009-01-11 Joel Brobecker <brobecker@adacore.com> |
bfb87e33 JB |
351 | |
352 | * win32-tdep.h, win32-tdep.c: New files. | |
353 | * i386-cygwin-tdep.h: Delete. | |
354 | * i386-cygwin-tdep.c: Include win32-tdep.h instead of | |
355 | i386-cygwin-tdep.h. | |
356 | (win32_xfer_shared_library): Delete. Moved to win32-tdep.c. | |
357 | * win32-nat.c: Likewise. | |
358 | * configure.tgt: Add win32-tdep.o to the list of target object | |
359 | files for i386-cygwin and i386-mingw targets. | |
360 | ||
5f61c20e | 361 | 2009-01-11 Joel Brobecker <brobecker@adacore.com> |
7e63b4e4 JB |
362 | |
363 | * win32-nat.h: New file. | |
364 | * win32-nat.c (mappings): Initialize to NULL. | |
365 | (win32_set_context_register_offsets): New function. | |
366 | * i386-windows-nat.c: New file. | |
367 | (mappings): Moved here from win32-nat.c. | |
368 | (_initialize_i386_windows_nat): New function. | |
369 | * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o. | |
370 | * config/i386/cygwin.mh (NATDEPFILES): Likewise. | |
371 | ||
25fc6591 AS |
372 | 2009-01-09 Andreas Schwab <schwab@suse.de> |
373 | ||
374 | * Makefile.in (init.c): Set LANG/LC_ALL to C, not c. | |
375 | ||
87f70781 PA |
376 | 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
377 | ||
378 | * gdbtypes.c (append_composite_type_field): Correct the location of | |
379 | appended fields. | |
380 | ||
58d4abe1 PA |
381 | 2009-01-09 Pedro Alves <pedro@codesourcery.com> |
382 | ||
383 | * defs.h (deprecated_error_hook): Delete declaration. | |
384 | * interps.c (clear_interpreter_hooks): Adjust. | |
385 | * remote-sim.c (gdb_os_error): Don't try to call | |
386 | deprecated_error_hook. No need to call exit anymore. | |
387 | * top.c (deprecated_error_hook): Delete. | |
388 | ||
e3cb3832 JB |
389 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
390 | ||
391 | * arch-utils.c (gdbarch_update_p): Use host_address_to_string | |
392 | to print the address of the gdbarch pointer. | |
393 | ||
30737ed9 JB |
394 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
395 | ||
396 | * gdbarch.sh: Fix all the compilation errors on amd64-windows | |
397 | due to casting a pointer to a long when printing a function | |
398 | address. Instead, use host_address_to_string to convert our | |
399 | address to a string. | |
400 | * gdbarch.c: Regenerate. | |
401 | ||
ec4dfccf JB |
402 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
403 | ||
404 | * event-top.c (async_disconnect, async_stop_sig): use "raise" | |
405 | instead of "kill" to raise a signal. | |
406 | ||
d3653bf6 JB |
407 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
408 | ||
409 | * win32-nat.c (get_module_name): Change the type of parameter | |
410 | "base_address" to LPVOID. Remove unnecessary cast. | |
411 | (struct lm_info): Change type of load_addr to LPVOID. | |
412 | (win32_make_so): Change the type of parameter "load_addr" | |
413 | to LPVOID. Remove some unnecessary casts. | |
414 | (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID. | |
415 | (win32_xfer_shared_libraries): Add missing cast. | |
416 | ||
308a8808 JB |
417 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
418 | ||
419 | * win32-nat.c (has_detach_ability, set_process_privilege): | |
420 | Cast the result of GetProcAddress to (void *) to avoid | |
421 | a compilation warning. | |
422 | ||
5851ab76 JB |
423 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
424 | ||
425 | * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not | |
426 | already defined. | |
427 | ||
5732a500 JB |
428 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
429 | ||
430 | * win32-nat.c (get_image_name, win32_xfer_memory): Fix type | |
431 | definition of local variable "done". | |
432 | (info_w32_command, handle_exception): Remove unnecessary cast. | |
433 | ||
def4de3a JB |
434 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
435 | ||
436 | * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames | |
437 | DebugSetProcessKillOnExit. Update all uses in this file. | |
438 | (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop. | |
439 | Update all uses in this file. | |
440 | ||
441 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> | |
0795be10 JB |
442 | |
443 | * win32-nat.c (do_initial_win32_stuff): Add new ops parameter, | |
444 | and use it when pushing the target. | |
445 | (win32_attach, win32_create_inferior): Update call to | |
446 | do_initial_win32_stuff. | |
447 | (win32_detach, win32_mourn_inferior): Use our ops parameter | |
448 | instead of the global win32_ops to unpush the target. | |
449 | ||
1be7fe8d JB |
450 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
451 | ||
452 | * ser-mingw.c (ser_windows_open): Use proper type when casting | |
453 | in call to _open_osfhandle. | |
454 | ||
1dac1b47 KT |
455 | 2009-01-09 Kai Tietz <kai.tietz@onevision.com> |
456 | ||
457 | * coff-pe-read.c (read_pe_exported_syms): Fix typo. | |
458 | ||
ecf180db JB |
459 | 2009-01-09 Joel Brobecker <brobecker@adacore.com> |
460 | ||
461 | * CONTRIBUTE: Minor reformatting. | |
462 | ||
8234eceb KT |
463 | 2009-01-08 Kai Tietz <kai.tietz@onevision.com> |
464 | ||
465 | * MAINTAINERS: Add myself to Write After Approval. | |
a68ddad5 KT |
466 | * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+ |
467 | export directory. | |
8234eceb | 468 | |
72ee8797 NF |
469 | 2009-01-08 Nathan Froyd <froydnj@codesourcery.com> |
470 | ||
471 | * remote-sim.c (gdb_os_error): Mark as a noreturn function. | |
472 | Call exit to make it obvious to GCC. | |
473 | ||
f7545552 TT |
474 | 2009-01-08 Tom Tromey <tromey@redhat.com> |
475 | ||
476 | PR breakpoints/9350: | |
477 | * varobj.c (varobj_invalidate): Unconditionally free | |
478 | all_rootvarobj. | |
479 | * symfile.c (syms_from_objfile): Free local_addr when returning | |
480 | normally. | |
481 | * exec.c (exec_file_attach): Do cleanups before returning. | |
482 | (exec_file_command): Likewise. | |
483 | * corefile.c (reopen_exec_file): Do cleanups before returning. | |
484 | * breakpoint.c (insert_breakpoint_locations): Do cleanups before | |
485 | returning. | |
486 | (do_vec_free): New function. | |
487 | (update_global_location_list): Make a cleanup for old_locations. | |
488 | Do cleanups before returning. Remove unused variable 'e'. | |
489 | (find_condition_and_thread): Free result of parsing the | |
490 | expression. | |
491 | (print_it_typical): Do cleanups before returning. | |
492 | (breakpoint_re_set_one): Always free sals.sals. | |
493 | ||
dde02812 ES |
494 | 2009-01-08 Joel Brobecker <brobecker@adacore.com> |
495 | Emi Suzuki <emi-suzuki@tjsys.co.jp> | |
496 | ||
497 | * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for | |
498 | watchpoints. | |
499 | ||
69bcc6bc DE |
500 | 2009-01-07 Doug Evans <dje@google.com> |
501 | ||
502 | * top.c (gdb_prompt_string): Delete, unused. | |
503 | ||
fa3a767f PA |
504 | 2009-01-07 Pedro Alves <pedro@codesourcery.com> |
505 | ||
506 | Delete ONE_PROCESS_WRITETEXT leftovers. | |
507 | ||
508 | * breakpoint.c (insert_bp_location): Delete process_warning | |
509 | argument. Adjust. | |
510 | (insert_breakpoint_locations): Adjust. | |
511 | (reattach_breakpoints): Adjust. | |
512 | * infrun.c (normal_stop): Drop "It might be running in another | |
513 | process" notice. | |
514 | ||
7b93f36d SS |
515 | 2009-01-07 Stan Shebs <stan@codesourcery.com> |
516 | ||
517 | * config/pa/linux.mh (XDEPFILES): Remove. | |
518 | ||
0380c18b DE |
519 | 2009-01-07 Doug Evans <dje@google.com> |
520 | ||
521 | * cli/cli-cmds.c (set_debug): Fix cut-n-paste error. | |
522 | ||
60023297 JK |
523 | 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
524 | ||
525 | * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output | |
526 | spacing, a regression from 2008-04-22. | |
527 | ||
ea8992ce JB |
528 | 2009-01-07 Joel Brobecker <brobecker@adacore.com> |
529 | ||
530 | * utils.c (gdb_print_host_address): Adjust implementation to | |
531 | reuse host_address_to_string. Move comment explaining the conversion | |
532 | from host address to string from here... | |
533 | (host_address_to_string): ... to there. | |
534 | ||
301d2c47 ES |
535 | 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp> |
536 | ||
537 | * MAINTAINERS: Add myself for write after approval privileges. | |
538 | ||
170ce852 TT |
539 | 2009-01-06 Tom Tromey <tromey@redhat.com> |
540 | ||
541 | * value.c (set_internalvar): Use value_free, not xfree. | |
542 | ||
fdb7262a JB |
543 | 2009-01-06 Jim Blandy <jimb@red-bean.com> |
544 | ||
bf1d7d9c JB |
545 | Check return values of functions declared with warn_unused_result |
546 | attribute in GLIBC 2.8. | |
547 | * cli/cli-cmds.c (pwd_command): Check return value from getcwd. | |
548 | * inflow.c (check_syscall): New function. | |
549 | (new_tty): Use check_syscall to check return values from open and dup. | |
550 | * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets. | |
551 | * main.c (captured_main): Call cwd after setting up gdb_stderr; | |
552 | check for errors from getcwd. | |
553 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd. | |
554 | * ui-file.c (stdio_file_write): Ignore return value from fwrite. | |
555 | (stdio_file_fputs): Same. | |
556 | * utils.c (internal_vproblem): abort if last-ditch error message | |
557 | write fails. | |
558 | ||
fdb7262a JB |
559 | * top.c (gdb_init): Don't set the current directory here; that's |
560 | already been done in captured_main. | |
561 | ||
84603566 SL |
562 | 2009-01-06 Sandra Loosemore <sandra@codesourcery.com> |
563 | ||
564 | * ser-tcp.c: Adjust includes. | |
565 | (tcp_set_cmdlist, tcp_show_cmdlist): Declare. | |
566 | (tcp_auto_retry, tcp_retry_limit): Declare. | |
567 | (TIMEOUT): Remove, in favor of tcp_retry_limit. | |
568 | (POLL_INTERVAL): Increase to 5, in favor of backoff logic. | |
569 | (wait_for_connect): New function. | |
570 | (net_open): Use it. Add auto-retry logic. | |
571 | (set_tcp_cmd, show_tcp_cmd): New functions. | |
572 | (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry" | |
573 | and "set/show tcp connect-timeout" commands. | |
574 | * NEWS: Document new commands. | |
575 | ||
5171e6b3 TT |
576 | 2009-01-05 Tom Tromey <tromey@redhat.com> |
577 | ||
578 | * python/python-internal.h (Py_ssize_t): Define as int. | |
579 | ||
a367a1f2 JB |
580 | 2009-01-05 Jim Blandy <jimb@red-bean.com> |
581 | ||
582 | * MAINTAINERS: Fix my e-mail address as steering committee member. | |
583 | ||
0fb0cc75 JB |
584 | 2009-01-03 Joel Brobecker <brobecker@adacore.com> |
585 | ||
586 | Updated copyright notices for most files. | |
587 | ||
c9fc347d JB |
588 | 2009-01-03 Joel Brobecker <brobecker@adacore.com> |
589 | ||
590 | * top.c (print_gdb_version): Update copyright year. | |
591 | ||
a85d99b4 JB |
592 | 2009-01-03 Joel Brobecker <brobecker@adacore.com> |
593 | ||
594 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008. | |
595 | ||
4d78a120 JB |
596 | 2009-01-01 Pedro Alves <pedro@codesourcery.com> |
597 | ||
598 | PR breakpoints/9681: | |
599 | * exceptions.h (enum errors): New error type, MEMORY_ERROR. | |
600 | * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR. | |
601 | * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but | |
602 | retrow all other exceptions. | |
603 | ||
67de2a4c | 604 | For older changes see ChangeLog-2008. |
c906108c SS |
605 | \f |
606 | Local Variables: | |
607 | mode: change-log | |
608 | left-margin: 8 | |
609 | fill-column: 74 | |
610 | version-control: never | |
57da7796 | 611 | coding: utf-8 |
c906108c | 612 | End: |