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