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