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