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