2009-02-04 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
4bd207ef
TG
12009-02-04 Tristan Gingold <gingold@adacore.com>
2
3 * i386-tdep.c (i386_sigtramp_p): Make it public.
4 * i386-tdep.h (i386_sigtramp_p): Declare.
5
4aa99a88
TG
62009-02-04 Tristan Gingold <gingold@adacore.com>
7
8 * machoread.c (macho_symfile_read): Read minsymtab also from
9 shared libraries.
10 (macho_symfile_read): Try to read dwarf2 frame info from main
11 object file, but not from OSO files.
12 (macho_symfile_offsets): Update section names for latest BFD
13 changes.
14 * i386-darwin-tdep.c (i386_darwin_init_abi): Call set_solib_ops.
15 (x86_darwin_init_abi_64): Ditto.
16 * solib-darwin.c: New file.
17 * solib-darwin.h: New file.
18 * configure.tgt: Add solib.o solib-darwin.o for Darwin.
19
7a848be1
TG
202009-02-04 Tristan Gingold <gingold@adacore.com>
21
22 * solist.h (struct target_so_ops): Comment fallback behavior for
23 operation same.
24
b32d97f3
TT
252009-02-03 Tom Tromey <tromey@redhat.com>
26
27 * completer.c (add_struct_fields): Check type_name against NULL
28 before use.
29
692263b8
JB
302009-02-03 Joel Brobecker <brobecker@adacore.com>
31
32 * MAINTAINERS: Update Elena's email address.
33
bfa149ac
JB
342009-02-02 Joel Brobecker <brobecker@adacore.com>
35
36 * breakpoint (update_watchpoint): Minor comment adjustment.
37
1c71341a
TT
382009-02-02 Tom Tromey <tromey@redhat.com>
39
52e44b43 40 PR gdb/9594:
1c71341a
TT
41 * completer.c (count_struct_fields): Count method names.
42 (add_struct_fields): Add matching method names.
43
85541719
DE
442009-02-02 Doug Evans <dje@google.com>
45
46 * configure.ac (gdbkt): Check both no_tcl/no_tk first, before
47 doing any further tcl/tk configury. Don't configure gdbtk if
48 tcl or tk check fails.
49 * aclocal.m4: Regenerate.
50 * configure: Regenerate.
51
a4295225
TT
522009-02-02 Tom Tromey <tromey@redhat.com>
53
54 PR exp/9059:
55 * valops.c (find_overload_match): Follow typedefs before taking
56 address of object argument.
57
f00150c9
DE
582009-02-01 Doug Evans <dje@google.com>
59
60 * target.h (target_waitstatus_to_string): Declare.
61 * target.c (target_waitstatus_to_string): New function. Copied from
62 debug_to_wait. Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY,
63 TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE,
64 TARGET_WAITKIND_NO_HISTORY.
65 (debug_to_wait): Call it.
66 * infrun.c (wait_for_inferior): If debug_infrun, print result of
67 target_wait.
68 (fetch_inferior_event): Ditto.
69
5abdf4bd
TT
702009-01-30 Tom Tromey <tromey@redhat.com>
71
72 * Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.
73
592375cd
VP
742009-01-30 Vladimir Prus <vladimir@codesourcery.com>
75
76 PR 8145.
77 * thread.c (do_captured_list_thread_ids): Report the current
78 thread id.
79
41447f92
VP
802009-01-30 Vladimir Prus <vladimir@codesourcery.com>
81
82 * breakpoint.c (create_breakpoint, create_breakpoints)
83 (break_command_really, set_breakpoint): New parameter enabled.
84 (create_breakpoint, break_command_really): Make breakpoint
85 disabled if so requested.
86 * breakpoint.h (set_breakpoint): New parameter enabled.
87 * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle the -d option.
88
35669430
DE
892009-01-28 Doug Evans <dje@google.com>
90
91 * amd64-tdep.h (amd64_displaced_step_copy_insn): Declare.
92 (amd64_displaced_step_fixup): Declare.
93 * amd64-tdep.c: #include opcode/i386.h, dis-asm.h.
94 (amd64_arch_regmap): Move out of amd64_analyze_stack_align
95 and make static global.
96 (amd64_arch_regmap_len): New static global.
97 (amd64_arch_reg_to_regnum): New function.
98 (struct amd64_insn): New struct.
99 (struct displaced_step_closure): New struct.
100 (onebyte_has_modrm,twobyte_has_modrm): New static globals.
101 (rex_prefix_p,skip_prefixes)
102 (amd64_insn_length_fprintf,amd64_insn_length_init_dis)
103 (amd64_insn_length,amd64_get_unused_input_int_reg)
104 (amd64_get_insn_details,fixup_riprel,fixup_displaced_copy)
105 (amd64_displaced_step_copy_insn)
106 (amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p)
107 (amd64_call_p,amd64_breakpoint_p,amd64_syscall_p)
108 (amd64_displaced_step_fixup): New functions.
109 * amd64-linux-tdep.c: #include arch-utils.h.
110 (amd64_linux_init_abi): Install displaced stepping support.
111
4eb7c016
JG
1122009-01-28 Daniel Jacobowitz <dan@codesourcery.com>
113 Jerome Guitton <guitton@adacore.com>
114
115 * configure, config.in: Regenerated.
116 * configure.ac: Add --with-system-gdbinit.
117 * main.c (get_init_files): New.
118 (captured_main): Use get_init_files. Load system gdbinit before
119 $HOME/.gdbinit.
120 (print_gdb_help): Print location of init files.
121
7df3ce47
PA
1222009-01-28 Pedro Alves <pedro@codesourcery.com>
123
124 * corefile.c (generic_search): Delete disabled code.
125 * gdbcore.h (generic_search): Delete declaration.
126
77435e4c
PA
1272009-01-26 Pedro Alves <pedro@codesourcery.com>
128
129 * linux-nat.c (linux_child_follow_fork): Copy attach_flag from the
130 parent to the child.
131 * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
132 * inf-ptrace.c (inf_ptrace_follow_fork): Likewise. Use
133 remove_breakpoints to remove breakpoints from the parent.
134
1e275f79
PA
1352009-01-26 Pedro Alves <pedro@codesourcery.com>
136
7488432f 137 PR backtrace/9458, PR backtrace/8864:
1e275f79
PA
138 * frame.c (create_new_frame): Update the frame's cached PC before
139 finding its unwinder. Use frame_id_build to build the new frame's
140 id.
141 * stack.c (parse_frame_specification_1): Correct setting ``addrs''
142 array values from the ``args'' array values.
143
1deafd4e
PA
1442009-01-26 Pedro Alves <pedro@codesourcery.com>
145
146 * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
147 (create_array_type, create_set_type, init_flags_type)
148 (copy_type_recursive): Replace pairs of calls to XALLOC and memset
149 with a call to XZALLOC or XCALLOC, and pairs of calls to
150 obstack_alloc and memset with a call to OBSTACK_ZALLOC.
151
3c16cced
PA
1522009-01-26 Pedro Alves <pedro@codesourcery.com>
153
154 Add "maint set|show internal-error|internal-warning quit|corefile
155 ask|yes|no" commands.
156
157 PR gdb/7580:
158 * utils.c (internal_problem_ask, internal_problem_yes)
159 (internal_problem_no, internal_problem_modes): New.
160 (struct internal_problem): Remove FIXME. Make should_quit and
161 should_dump_core types to char *.
162 (internal_vproblem, internal_error_problem)
163 (internal_warning_problem): Adjust.
164 (set_internal_problem_cmd, show_internal_problem_cmd): New dummy
165 functions.
166 (add_internal_problem_command): New.
167 (_initialize_utils): New.
168
616d7dd2
PA
1692009-01-25 Pedro Alves <pedro@codesourcery.com>
170
171 * infcmd.c (program_info): Use paddress instead of casting stop_pc
172 to unsigned long.
173
0516318b
PA
1742009-01-24 Pedro Alves <pedro@codesourcery.com>
175
176 * infrun.c (normal_stop): Don't call
177 deprecated_update_frame_pc_hack.
178 * frame.c (deprecated_update_frame_pc_hack)
179 (deprecated_update_frame_base_hack): Delete, and ...
180 (create_new_frame): ... inline here.
181 * frame.h (deprecated_update_frame_pc_hack)
182 (deprecated_update_frame_base_hack): Delete declarations.
183
1e8fb976
PA
1842009-01-23 Pedro Alves <pedro@codesourcery.com>
185
186 * cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
187 * cli/cli-setshow.c (do_setshow_command): Handle it.
188 * command.h (enum var_types): Add var_zuinteger.
189 (add_setshow_zuinteger_cmd): Declare.
190
191 * valprint.c (_initialize_valprint): Change the set input-radix
192 and set output-radix commands to zuinteger type.
193
dd7e2d2b
PA
1942009-01-23 Pedro Alves <pedro@codesourcery.com>
195
196 PR gdb/9664:
197 * infrun.c (normal_stop): Tag threads as stopped, and run the
198 hook-stop before printing the stack frame.
199
392452f6
PA
2002009-01-22 Pedro Alves <pedro@codesourcery.com>
201
202 PR c++/9631:
203 * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
204 vbasetype.
205
f6a96b83
KH
2062009-01-20 Kazu Hirata <kazu@codesourcery.com>
207
208 * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
209 unsigned long.
210
5d277928 2112009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
a12cc160
DJ
212
213 PR gdb/9346
214 * infcmd.c (signal_command): Do not specify a resume PC.
215
b89667eb
DE
2162009-01-19 Doug Evans <dje@google.com>
217
218 * dummy-frame.c (dummy_frame): Replace regcache member with
219 caller_state.
220 (dummy_frame_push): Replace caller_regcache arg with caller_state.
221 All callers updated.
222 (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
223 (dummy_frame_pop): Rewrite. Verify requested frame is in the
224 dummy frame stack. Restore program state.
225 (cleanup_dummy_frames): Rewrite.
226 (dummy_frame_sniffer): Update. Make static.
227 * dummy-frame.h (regcache,frame_info): Delete forward decls.
228 (inferior_thread_state): New forward decl.
229 (dummy_frame_push): Update prototype.
230 * frame.c (frame_pop): dummy_frame_pop now does all the work for
231 DUMMY_FRAMEs.
232 * infcall.c (breakpoint_auto_delete_contents): Delete.
233 (get_function_name,run_inferior_call): New fns.
234 (call_function_by_hand): Simplify by moving some code to
235 get_function_name, run_inferior_call. Inferior function call wrapped
236 in TRY_CATCH so there's less need for cleanups and all exits from
237 proceed are handled similarily. Detect program exit.
238 Detect program stopping in a different thread.
239 Make error messages more consistent.
240 * inferior.h (inferior_thread_state): Declare (opaque type).
241 (save_inferior_thread_state,restore_inferior_thread_state,
242 make_cleanup_restore_inferior_thread_state,
243 discard_inferior_thread_state, get_inferior_thread_state_regcache):
244 Declare.
245 (save_inferior_status): Update prototype.
246 * infrun.c: (normal_stop): When stopped for the completion of an
247 inferior function call, verify the expected stack frame kind.
248 (inferior_thread_state): New struct.
249 (save_inferior_thread_state,restore_inferior_thread_state,
250 do_restore_inferior_thread_state_cleanup,
251 make_cleanup_restore_inferior_thread_state,
252 discard_inferior_thread_state,
253 get_inferior_thread_state_regcache): New functions.
254 (inferior_status): Move stop_signal, stop_pc, registers to
255 inferior_thread_state. Remove restore_stack_info.
256 (save_inferior_status): Remove arg restore_stack_info.
257 All callers updated. Remove saving of state now saved by
258 save_inferior_thread_state.
259 (restore_inferior_status): Remove restoration of state now done by
260 restore_inferior_thread_state.
261 (discard_inferior_status): Remove freeing of registers, now done by
262 discard_inferior_thread_state.
263
aefc7064
PA
2642009-01-18 Pedro Alves <pedro@codesourcery.com>
265
266 * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
267 at a time, times NUM_TO_SCROLL.
268 * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
269 fetch the selected frame if there is no stack.
270
29f49a6a
PA
2712009-01-18 Pedro Alves <pedro@codesourcery.com>
272
273 PR gdb/9747:
274 * gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
275 Declare.
276 * thread.c (finish_thread_state, finish_thread_state_cleanup): New.
277 * infrun.c (wait_for_inferior, fetch_inferior_event): If an error
278 is thrown while handling an event, finish the thread state.
279 (normal_stop): Use finish_thread_state cleanup.
280 * infcmd.c (run_command_1): If an error is thrown while starting
281 the inferior, finish the thread state.
282
e7243d73
PA
2832009-01-18 Pedro Alves <pedro@codesourcery.com>
284
285 * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
286 skip breakpoints without a location (pending breakpoints).
287
e74994b5
PA
2882009-01-18 Pedro Alves <pedro@codesourcery.com>
289
290 PR build/9186:
291 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
292
8405c36e
NR
2932009-01-18 Nick Roberts <nickrob@snap.net.nz>
294
295 * thread.c (thread_command): Move call to annotate_thread_changed
296 to...
297 (do_captured_thread_select): ... here, to avoid printing an
298 annotation if the thread change generates an exception.
299
b8bfd3ed
JB
3002009-01-16 Joel Brobecker <brobecker@adacore.com>
301
302 * NEWS: Document x86_64/MinGW as a new native configuration.
303
2dde91e9
JB
3042009-01-16 Joel Brobecker <brobecker@adacore.com>
305
306 * NEWS: Move the documentation of "info os processes" to
307 the appropriate section (documenting the new commands).
308
54363045
DE
3092009-01-15 Doug Evans <dje@google.com>
310
311 * target.h (target_signal_to_string): Make return type const char *.
312 (target_signal_to_name): Ditto.
313 (target_signal_from_name): Make arg const char *.
54363045 314 * infrun.c (sig_print_info): Update.
54363045
DE
315 * signals/signals.c (signals): Make array and struct members const.
316 (target_signal_to_string): Make return type const char *.
317 (target_signal_to_name): Ditto.
318 (target_signal_from_name): Make arg const char *.
319
572d275c
UW
3202009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
321 Tristan Gingold <gingold@adacore.com>
322
323 * solist.h (struct target_so_ops): New member bfd_open.
324 (solib_find): Add prototype.
325 (solib_bfd_fopen): Add prototype.
326 * solib.c (solib_find, solib_bfd_fopen): New functions, extracted
327 from solib_bfd_open.
328 (solib_bfd_open): Use ops->bfd_open override if present. Call
329 solib_find and solib_bfd_open otherwise.
330
331 * objfiles.h (OBJF_KEEPBFD): New define.
332 * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
333 objfile flag is set.
334 * solib.c (symbol_add_stub): Do not allocate second BFD for
335 shared library; use OBJF_KEEPBFD flag on solib objfile.
336
0701b271
UW
3372009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
338
339 * frame.c (get_frame_arch): Abort if called with NULL this_frame.
340
61212c0f
UW
3412009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
342
343 * value.h (address_of_variable): Add prototype.
344 (locate_var_value): Remove prototype.
345
346 * findvar.c (read_var_value): Do not attempt to default frame
347 to selected frame.
348 (locate_var_value): Remove function.
349 * valops.c (value_of_variable): Retrieve selected frame for
350 symbols that require a frame when called with NULL block.
351 * valops.c (address_of_variable): New function.
352
353 * eval.c (evaluate_subexp_for_address): Call address_of_variable
354 instead of calling locate_var_value.
355 (evaluate_subexp_with_coercion): Likewise.
356
adb483fe
DJ
3572009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
358
359 * NEWS: Document "define" for prefixed commands.
360 * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call
361 show_user_1 for prefix commands.
362 * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
363 * cli/cli-script.c (validate_comname): Rewrite to handle prefix
364 commands. Return the containing command list.
365 (define_command, document_command): Update to handle prefix commands.
366 (show_user_1): Add prefix and name arguments. Handle prefix
367 commands.
368 * cli/cli-script.h (show_user_1): Update prototype.
369
a32d7317
KT
3702009-01-14 Kai Tietz <kai.tietz@onevision.com>
371
372 * mingw-ser.c (console_select_thread): Add return to make
373 compiler happy.
374 (pipe_select_thread): Likewise.
375 (file_select_thread): Likewise.
376
041d0fd7
PA
3772009-01-14 Pedro Alves <pedro@codesourcery.com>
378
379 * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
380 previous change.
381
dc1981d7
PA
3822009-01-14 Pedro Alves <pedro@codesourcery.com>
383
384 * remote.c (extended_remote_mourn_1): Invalidate our notion of
385 current general thread.
386
244bf9ae
PA
3872009-01-14 Pedro Alves <pedro@codesourcery.com>
388
389 * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
390 without a live selected thread.
391
e4d013fc
JB
3922009-01-14 Joel Brobecker <brobecker@adacore.com>
393
394 Update the copyright notice of some of the files I missed
395 in the previous copyright update.
396
a588db63
JB
3972009-01-14 Joel Brobecker <brobecker@adacore.com>
398
399 * windows-nat.c (handle_unload_dll): Use %p to print the DLL
400 base address instead of casting it to DWORD.
401
77a732d9
UW
4022009-01-13 Ulrich Weigand <uweigand@de.ibm.com>
403
404 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
405 for NULL frame pointers.
406
773698b5
JB
4072009-01-13 Mark Kettenis <kettenis@gnu.org>
408
409 * utils.c (host_address_to_string): Reimplement in a way that
410 avoids the cast of the address to long.
411
9918cab9
JB
4122009-01-13 Joel Brobecker <brobecker@adacore.com>
413
414 * mdebugread.c (parse_symbol): Save the symbol private data
415 using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
416 (psymtab_to_symtab_1): Likewise.
417 (parse_procedure): Declare variable "e" only in the scope
418 where it is used. Extract the symbol private data using
419 SYMBOL_VALUE_BYTES.
420
74bcbdf3
PA
4212009-01-13 Jim Blandy <jimb@codesourcery.com>
422
423 Abstract out common code for copying value locations.
424
425 * value.h (set_value_component_location): New declaration.
426 * value.c (set_value_component_location): New function.
427 (value_primitive_field): Use it.
428 * valarith.c (value_subscript, value_subscripted_rvalue): Same.
429 * valops.c (search_struct_field, value_slice): Same.
430 * ada-lang.c (coerce_unspec_val_to_type)
431 (ada_value_primitive_packed_val): Same.
432
d7dc3873
JB
4332009-01-13 Joel Brobecker <brobecker@adacore.com>
434
435 * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
436
dc05df57
CF
4372009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
438
439 * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
440 throughout.
441 * i386-cygwin-tdep.c: Ditto.
442 * i386-windows-nat.c: Ditto.
443 * windows-nat.h: Ditto.
444 * windows-tdep.c: Ditto.
445 * windows-tdep.h: Ditto.
446 * windows-nat.c: Ditto.
447 (cygwin_load_start): Redefine as CORE_ADDR.
448 (cygwin_load_end): Ditto.
449 (windows_make_so): Coerce result of address arithmetic to to uintptr_t
450 before coercing to CORE_ADDR to avoid a compiler warning.
451 (handle_exception): Define addr as CORE_ADDR and coerce
452 ExceptionAddress to uintptr_t before assigining to avoid a compiler
453 warning.
454 * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
455 files.
456
31b060a2
CF
4572009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
458
459 Fix linking with --enable-targets=all:
460 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
461 (HFILES_NO_SRCDIR): Add windows-tdep.h.
462 (ALLDEPFILES): Add windows-tdep.c.
463
4642009-01-11 Christ Faylor <me.gdb@cgf.cx>
465
466 * win32-nat.h: Delete.
467 * windows-nat.h: Rename from win32-nat.h.
468 * win32-nat.c: Delete.
469 * windows-nat.c: Rename from win32-nat.c.
470 * win32-termcap.c: Delete.
471 * windows-termcap.c: Rename from win32-termcap.c.
472 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
473 * configure.ac: Handle rename from win32-termcap.c ->
474 windows-termcap.c.
475 * configure: Regenerate.
476 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
477 -> windows-termcap.c.
478 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
479 windows-tdep.h.
480 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
481 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
482 windows-tdep.h.
483 (win32_make_so): Handle cygwin compiler warning due to change of
484 load_addr from DWORD to LPVOID.
485 (handle_load_dll): Use %p in format string to properly print address
486 and avoid a compiler warning.
487 (DEBUG_EXCEPTION_SIMPLE): Ditto.
488 (handle_exception): Ditto.
489 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
490 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
491 windows-nat.o.
492 * config/i386/mingw.mh: Ditto.
493 * config/i386/mingw64.mh: Ditto.
494
0311118f
JK
4952009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
496
497 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
498 arrayprint_recurse_level to a parameter. Update all the callers. New
499 comment at autovariables.
500
5f61c20e
JK
5012009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
502
503 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
504 coding style.
505
5062009-01-11 Joel Brobecker <brobecker@adacore.com>
53b71562
JB
507
508 * target.c (target_xfer_partial): Use host_address_to_string to
509 print the address of readbuf and writebuf. Cast the address of
510 elements inside the myaddr buffer into intptr_t.
511 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
512 Cast the address of elements inside the myaddr buffer into
513 intptr_t.
514
5f61c20e 5152009-01-11 Joel Brobecker <brobecker@adacore.com>
d0761299
JB
516
517 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
518 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
519 * configure.host, configure.tgt: Add handling for x86_64/windows.
520 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
521 and amd64-windows-tdep.c.
522
5f61c20e 5232009-01-11 Joel Brobecker <brobecker@adacore.com>
bfb87e33
JB
524
525 * win32-tdep.h, win32-tdep.c: New files.
526 * i386-cygwin-tdep.h: Delete.
527 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
528 i386-cygwin-tdep.h.
529 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
530 * win32-nat.c: Likewise.
531 * configure.tgt: Add win32-tdep.o to the list of target object
532 files for i386-cygwin and i386-mingw targets.
533
5f61c20e 5342009-01-11 Joel Brobecker <brobecker@adacore.com>
7e63b4e4
JB
535
536 * win32-nat.h: New file.
537 * win32-nat.c (mappings): Initialize to NULL.
538 (win32_set_context_register_offsets): New function.
539 * i386-windows-nat.c: New file.
540 (mappings): Moved here from win32-nat.c.
541 (_initialize_i386_windows_nat): New function.
542 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
543 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
544
25fc6591
AS
5452009-01-09 Andreas Schwab <schwab@suse.de>
546
547 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
548
87f70781
PA
5492009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
550
551 * gdbtypes.c (append_composite_type_field): Correct the location of
552 appended fields.
553
58d4abe1
PA
5542009-01-09 Pedro Alves <pedro@codesourcery.com>
555
556 * defs.h (deprecated_error_hook): Delete declaration.
557 * interps.c (clear_interpreter_hooks): Adjust.
558 * remote-sim.c (gdb_os_error): Don't try to call
559 deprecated_error_hook. No need to call exit anymore.
560 * top.c (deprecated_error_hook): Delete.
561
e3cb3832
JB
5622009-01-09 Joel Brobecker <brobecker@adacore.com>
563
564 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
565 to print the address of the gdbarch pointer.
566
30737ed9
JB
5672009-01-09 Joel Brobecker <brobecker@adacore.com>
568
569 * gdbarch.sh: Fix all the compilation errors on amd64-windows
570 due to casting a pointer to a long when printing a function
571 address. Instead, use host_address_to_string to convert our
572 address to a string.
573 * gdbarch.c: Regenerate.
574
ec4dfccf
JB
5752009-01-09 Joel Brobecker <brobecker@adacore.com>
576
577 * event-top.c (async_disconnect, async_stop_sig): use "raise"
578 instead of "kill" to raise a signal.
579
d3653bf6
JB
5802009-01-09 Joel Brobecker <brobecker@adacore.com>
581
582 * win32-nat.c (get_module_name): Change the type of parameter
583 "base_address" to LPVOID. Remove unnecessary cast.
584 (struct lm_info): Change type of load_addr to LPVOID.
585 (win32_make_so): Change the type of parameter "load_addr"
586 to LPVOID. Remove some unnecessary casts.
587 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
588 (win32_xfer_shared_libraries): Add missing cast.
589
308a8808
JB
5902009-01-09 Joel Brobecker <brobecker@adacore.com>
591
592 * win32-nat.c (has_detach_ability, set_process_privilege):
593 Cast the result of GetProcAddress to (void *) to avoid
594 a compilation warning.
595
5851ab76
JB
5962009-01-09 Joel Brobecker <brobecker@adacore.com>
597
598 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
599 already defined.
600
5732a500
JB
6012009-01-09 Joel Brobecker <brobecker@adacore.com>
602
603 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
604 definition of local variable "done".
605 (info_w32_command, handle_exception): Remove unnecessary cast.
606
def4de3a
JB
6072009-01-09 Joel Brobecker <brobecker@adacore.com>
608
609 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
610 DebugSetProcessKillOnExit. Update all uses in this file.
611 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
612 Update all uses in this file.
613
6142009-01-09 Joel Brobecker <brobecker@adacore.com>
0795be10
JB
615
616 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
617 and use it when pushing the target.
618 (win32_attach, win32_create_inferior): Update call to
619 do_initial_win32_stuff.
620 (win32_detach, win32_mourn_inferior): Use our ops parameter
621 instead of the global win32_ops to unpush the target.
622
1be7fe8d
JB
6232009-01-09 Joel Brobecker <brobecker@adacore.com>
624
625 * ser-mingw.c (ser_windows_open): Use proper type when casting
626 in call to _open_osfhandle.
627
1dac1b47
KT
6282009-01-09 Kai Tietz <kai.tietz@onevision.com>
629
630 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
631
ecf180db
JB
6322009-01-09 Joel Brobecker <brobecker@adacore.com>
633
634 * CONTRIBUTE: Minor reformatting.
635
8234eceb
KT
6362009-01-08 Kai Tietz <kai.tietz@onevision.com>
637
638 * MAINTAINERS: Add myself to Write After Approval.
a68ddad5
KT
639 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
640 export directory.
8234eceb 641
72ee8797
NF
6422009-01-08 Nathan Froyd <froydnj@codesourcery.com>
643
644 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
645 Call exit to make it obvious to GCC.
646
f7545552
TT
6472009-01-08 Tom Tromey <tromey@redhat.com>
648
649 PR breakpoints/9350:
650 * varobj.c (varobj_invalidate): Unconditionally free
651 all_rootvarobj.
652 * symfile.c (syms_from_objfile): Free local_addr when returning
653 normally.
654 * exec.c (exec_file_attach): Do cleanups before returning.
655 (exec_file_command): Likewise.
656 * corefile.c (reopen_exec_file): Do cleanups before returning.
657 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
658 returning.
659 (do_vec_free): New function.
660 (update_global_location_list): Make a cleanup for old_locations.
661 Do cleanups before returning. Remove unused variable 'e'.
662 (find_condition_and_thread): Free result of parsing the
663 expression.
664 (print_it_typical): Do cleanups before returning.
665 (breakpoint_re_set_one): Always free sals.sals.
666
dde02812
ES
6672009-01-08 Joel Brobecker <brobecker@adacore.com>
668 Emi Suzuki <emi-suzuki@tjsys.co.jp>
669
670 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
671 watchpoints.
672
69bcc6bc
DE
6732009-01-07 Doug Evans <dje@google.com>
674
675 * top.c (gdb_prompt_string): Delete, unused.
676
fa3a767f
PA
6772009-01-07 Pedro Alves <pedro@codesourcery.com>
678
679 Delete ONE_PROCESS_WRITETEXT leftovers.
680
681 * breakpoint.c (insert_bp_location): Delete process_warning
682 argument. Adjust.
683 (insert_breakpoint_locations): Adjust.
684 (reattach_breakpoints): Adjust.
685 * infrun.c (normal_stop): Drop "It might be running in another
686 process" notice.
687
7b93f36d
SS
6882009-01-07 Stan Shebs <stan@codesourcery.com>
689
690 * config/pa/linux.mh (XDEPFILES): Remove.
691
0380c18b
DE
6922009-01-07 Doug Evans <dje@google.com>
693
694 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
695
60023297
JK
6962009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
697
698 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
699 spacing, a regression from 2008-04-22.
700
ea8992ce
JB
7012009-01-07 Joel Brobecker <brobecker@adacore.com>
702
703 * utils.c (gdb_print_host_address): Adjust implementation to
704 reuse host_address_to_string. Move comment explaining the conversion
705 from host address to string from here...
706 (host_address_to_string): ... to there.
707
301d2c47
ES
7082009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
709
710 * MAINTAINERS: Add myself for write after approval privileges.
711
170ce852
TT
7122009-01-06 Tom Tromey <tromey@redhat.com>
713
714 * value.c (set_internalvar): Use value_free, not xfree.
715
fdb7262a
JB
7162009-01-06 Jim Blandy <jimb@red-bean.com>
717
bf1d7d9c
JB
718 Check return values of functions declared with warn_unused_result
719 attribute in GLIBC 2.8.
720 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
721 * inflow.c (check_syscall): New function.
722 (new_tty): Use check_syscall to check return values from open and dup.
723 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
724 * main.c (captured_main): Call cwd after setting up gdb_stderr;
725 check for errors from getcwd.
726 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
727 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
728 (stdio_file_fputs): Same.
729 * utils.c (internal_vproblem): abort if last-ditch error message
730 write fails.
731
fdb7262a
JB
732 * top.c (gdb_init): Don't set the current directory here; that's
733 already been done in captured_main.
734
84603566
SL
7352009-01-06 Sandra Loosemore <sandra@codesourcery.com>
736
737 * ser-tcp.c: Adjust includes.
738 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
739 (tcp_auto_retry, tcp_retry_limit): Declare.
740 (TIMEOUT): Remove, in favor of tcp_retry_limit.
741 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
742 (wait_for_connect): New function.
743 (net_open): Use it. Add auto-retry logic.
744 (set_tcp_cmd, show_tcp_cmd): New functions.
745 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
746 and "set/show tcp connect-timeout" commands.
747 * NEWS: Document new commands.
748
5171e6b3
TT
7492009-01-05 Tom Tromey <tromey@redhat.com>
750
751 * python/python-internal.h (Py_ssize_t): Define as int.
752
a367a1f2
JB
7532009-01-05 Jim Blandy <jimb@red-bean.com>
754
755 * MAINTAINERS: Fix my e-mail address as steering committee member.
756
0fb0cc75
JB
7572009-01-03 Joel Brobecker <brobecker@adacore.com>
758
759 Updated copyright notices for most files.
760
c9fc347d
JB
7612009-01-03 Joel Brobecker <brobecker@adacore.com>
762
763 * top.c (print_gdb_version): Update copyright year.
764
a85d99b4
JB
7652009-01-03 Joel Brobecker <brobecker@adacore.com>
766
767 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
768
4d78a120
JB
7692009-01-01 Pedro Alves <pedro@codesourcery.com>
770
771 PR breakpoints/9681:
772 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
773 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
774 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
775 retrow all other exceptions.
776
67de2a4c 777For older changes see ChangeLog-2008.
c906108c
SS
778\f
779Local Variables:
780mode: change-log
781left-margin: 8
782fill-column: 74
783version-control: never
57da7796 784coding: utf-8
c906108c 785End:
This page took 0.987966 seconds and 4 git commands to generate.