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