]>
Commit | Line | Data |
---|---|---|
403fe197 PA |
1 | 2008-03-25 Pedro Alves <[email protected]> |
2 | ||
3 | * linux-nat.c (linux_nat_attach): Add the pid we attached to, to | |
4 | gdb's thread list. | |
5 | (linux_nat_wait): Add main lwp to gdb's thread list. | |
6 | * linux-thread-db.c (find_new_threads_callback): Also attach to | |
7 | already listed threads which thread_db didn't know about yet. | |
8 | ||
710151dd PA |
9 | 2008-03-25 Pedro Alves <[email protected]> |
10 | ||
11 | * linux-nat.c (drain_queued_events): Fix comment typo. | |
12 | (linux_nat_attach): In async mode, don't rely on storing a pending | |
13 | status. Instead place the wait status on the pipe. | |
14 | (linux_nat_resume): Remove unreacheable shortcut code in async | |
15 | mode. | |
16 | (stop_wait_callback): In async mode, don't store pending status. | |
17 | Instead, cancel breakpoints or resend the signal appropriatelly. | |
18 | (cancel_breakpoint): New, refactored from | |
19 | cancel_breakpoints_callback. | |
20 | (cancel_breakpoints_callback): Call cancel_breakpoint. | |
21 | (pipe_to_local_event_queue): Remove special token processing. | |
22 | (linux_nat_wait): Issue an internal error if a pending status is | |
23 | found in async mode. | |
24 | ||
807bddf3 DJ |
25 | 2008-03-24 Daniel Jacobowitz <[email protected]> |
26 | ||
27 | * inflow.c (gdb_has_a_terminal): Guard access to our_process_group. | |
28 | ||
c5b48eac VP |
29 | 2008-03-24 Nick Roberts <[email protected]> |
30 | Vladimir Prus <[email protected]> | |
31 | ||
32 | * varobj.c (struct varobj_root): New component thread_id. | |
33 | (varobj_get_thread_id, check_scope): New functions. | |
34 | (c_value_of_root): Use check_scope. Switch to the | |
35 | proper thread if necessary. | |
36 | ||
37 | * varobj.h (varobj_get_thread_id): New extern. | |
38 | ||
39 | * mi/mi-cmd-var.c (print_varobj): Add thread-id field. | |
40 | ||
12f4afab DJ |
41 | 2008-03-23 Daniel Jacobowitz <[email protected]> |
42 | ||
43 | PR gdb/544 | |
44 | * top.c: Revert 2008-03-21 changes. | |
45 | ||
6208b47d VP |
46 | 2008-03-23 Vladimir Prus <[email protected]> |
47 | ||
48 | * thread.c (make_cleanup_restore_current_thread): Make it | |
49 | globally visible. | |
50 | * gdbthread.h (make_cleanup_restore_current_thread): Declare. | |
51 | * varobj.c (varobj_update): Don't save/restore frame. | |
52 | (c_value_of_root): Save/restore thread and frame here, | |
53 | using make_cleanup_restore_current_thread. | |
54 | * Makefile.in: Update dependecies. | |
55 | ||
44a67aa7 VP |
56 | 2008-03-23 Vladimir Prus <[email protected]> |
57 | ||
58 | * varobj.c (struct varobj_root): Clarify | |
59 | comment on the frame field. | |
60 | (varobj_create): Don't set frame if we have no | |
61 | block. | |
62 | ||
b562a0cb DJ |
63 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
64 | ||
65 | PR gdb/544 | |
66 | Suggested by Jan Kratochvil: | |
67 | * top.c (gdb_rl_operate_and_get_next_completion): Call | |
68 | rl_redisplay_function. | |
69 | (gdb_rl_redisplay): New. | |
70 | (init_main): Set rl_redisplay_function. | |
71 | ||
ed1bd5f5 JB |
72 | 2008-03-21 Thomas Mittelstaedt <[email protected]> (tiny change) |
73 | ||
74 | * aix-thread.c (pdc_read_regs): Fix compiler warning. | |
75 | (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread) | |
76 | (store_regs_kernel_thread): Likewise. | |
77 | ||
b84876c2 PA |
78 | 2008-03-21 Pedro Alves <[email protected]> |
79 | ||
80 | Linux native async support. | |
81 | ||
82 | * target.h (struct target_ops): Delete to_async_mask_value and add | |
83 | to_async_mask. | |
84 | (target_is_async_p, target_async): Formatting. | |
85 | (target_async_mask_value): Delete. | |
86 | (target_async_mask): Delete function declaration, and add new | |
87 | target macro with the same name. | |
88 | ||
89 | * target.c (update_current_target): Replace to_async_mask_value by | |
90 | to_async_mask. Default to_async_mask to return_one. | |
91 | (target_async_mask): Delete. | |
92 | (find_default_can_async_p, find_default_is_async_p): New. | |
93 | (init_dummy_target): register find_default_can_async_p and | |
94 | find_default_is_async_p on the dummy target. | |
95 | ||
96 | * linux-nat.c: Include inf-loop.h, event-loop.h and event-top.h. | |
97 | (debug_linux_nat_async): New global. | |
98 | (show_debug_linux_nat_async): New function. | |
99 | (linux_nat_async_enabled, linux_nat_async_mask_value) | |
100 | (linux_nat_event_pipe, linux_nat_num_queued_events) | |
101 | (linux_nat_async_events_enabled): New globals. | |
102 | (struct waitpid_result): New struct. | |
103 | (waitpid_queue): New global. | |
104 | (queued_waitpid, push_waitpid, drain_queued_events): New. | |
105 | (my_waitpid): Call queued_waitpid. | |
106 | (linux_child_follow_fork): Disable async events during the call. | |
107 | (blocked_mask): Delete. | |
108 | (sync_sigchld_action, async_sigchld_action): New globals. | |
109 | (lin_lwp_attach_lwp): In sync mode, don't reblock SIGCHLD. In | |
110 | async mode, block events during the call. | |
111 | (linux_nat_create_inferior): New. | |
112 | (linux_nat_attach): In sync mode, restore the mask states. In | |
113 | async mode, wake the event loop immediatelly. | |
114 | (detach_callback): Drain all queued events of the lwp we're | |
115 | detaching from. | |
116 | (linux_nat_detach): Block async mode, and drain events of the main | |
117 | process. | |
118 | (linux_nat_resume): If in async mode, mask async events during the | |
119 | call. If short circuiting, force event loop to wake up. If | |
120 | resuming, set target_executing, and register target events in the | |
121 | event loop. | |
122 | (pipe_to_local_event_queue, local_event_queue_to_pipe): New. | |
123 | (linux_nat_wait): In async mode, block events during the call. | |
124 | Only enable/disable passing SIGINT to the inferior in sync mode. | |
125 | Get events from local waitpid queue. If no interesting events was | |
126 | found, return to events loop. Reregister target events in the | |
127 | event loop on exit. In sync mode, no need to reblock SIGCHLD. | |
128 | (linux_nat_kill): Disable events on entry. | |
129 | (linux_nat_mourn_inferior): In sync mode, don't restore the masks | |
130 | here. Detach async mode from the event loop if there are no more | |
131 | forks available, otherwise leave it on. | |
132 | (sigchld_handler): Assure this is called only in sync mode. | |
133 | (linux_async_permitted, linux_async_permitted_1): New globals. | |
134 | (set_maintenance_linux_async_permitted) | |
135 | (show_maintenance_linux_async_permitted): New functions. | |
136 | (linux_nat_is_async_p, linux_nat_can_async_p) | |
137 | (linux_nat_async_mask): New. | |
138 | (linux_nat_event_pipe_pop, linux_nat_event_pipe_push): New. | |
139 | (get_pending_events, async_sigchld_handler): New. | |
140 | (linux_nat_async_events): New. | |
141 | (async_terminal_is_ours): New global. | |
142 | (linux_nat_terminal_inferior, linux_nat_terminal_ours): New. | |
143 | (async_client_callback, async_client_context): New. | |
144 | (linux_nat_async_file_handler, linux_nat_async) | |
145 | (linux_nat_disable_async, linux_nat_enable_async): New. | |
146 | (linux_nat_add_target): Register linux_nat_create_inferior, | |
147 | linux_nat_can_async_p, linux_nat_is_async_p, linux_nat_async, | |
148 | linux_nat_async_mask, linux_nat_terminal_inferior and | |
149 | linux_nat_terminal_ours. | |
150 | (_initialize_linux_nat): Remove local action variable, and update | |
151 | code that used it to use sync_sigchld_action. Add new | |
152 | "lin-lwp-async" debug set/show command. Put the "lin-lwp" debug | |
153 | set/show command in the maintenance class. Add new "linux-async" | |
154 | maintenance set/show command. Block SIGCHLD by default. Setup | |
155 | async_sichld_action, and sync_sigchld_action. Install the default | |
156 | async mode. | |
157 | (lin_thread_get_thread_signals): Use a local sigset_t for blocking | |
158 | the cancel signals. | |
159 | ||
160 | * linux-thread-db.c (re_check_for_thread_db): New. | |
161 | (clear_lwpid_callback): Handle TARGET_WAITKIND_IGNORE. | |
162 | (thread_db_can_async_p, thread_db_is_async_p, thread_db_async) | |
163 | (thread_db_async_mask): New. | |
164 | (init_thread_db_ops): Register thread_db_can_async_p, | |
165 | thread_db_is_async_p, thread_db_async and thread_db_async_mask. | |
166 | ||
167 | * remote.c (remote_async_mask_value): New. | |
168 | (remote_return_zero): New. | |
169 | (init_remote_ops): Register remote_return_zero as callbacks of | |
170 | to_can_async_p and to_is_async_p. | |
171 | (remote_can_async_p, remote_is_async_p, remote_async): Update to | |
172 | use remote_async_mask_value. | |
173 | (remote_async_mask): New. | |
174 | (init_remote_async_ops): Remove to_async_mask_value setting and | |
175 | register remote_async_mask as to_async_mask callback in | |
176 | remote_async_ops. | |
177 | ||
178 | * Makefile.in (linux-nat.o): Update. | |
179 | ||
17faa917 DJ |
180 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
181 | ||
182 | * gdbthread.h (add_thread_with_info): New. | |
183 | * linux-thread-db.c: Add some documentation. | |
184 | (GET_LWP, GET_PID, GET_THREAD, is_lwp, is_thread, BUILD_LWP): Delete. | |
185 | (struct private_thread_info): Remove th_valid and ti_valid. | |
186 | Replace ti with tid. | |
187 | (thread_get_info_callback): Do not add TID to the new ptid. Do | |
188 | not cache th or ti. | |
189 | (thread_db_map_id2thr, lwp_from_thread): Delete functions. | |
190 | (thread_from_lwp): Assert that the LWP is set. Do not add TID to the | |
191 | new PTID. | |
192 | (attach_thread): Handle an already-existing thread. Use | |
193 | add_thread_with_info. Cache the th and tid. | |
194 | (detach_thread): Verify that private was set. Remove verbose | |
195 | argument and printing. Update caller. | |
196 | (thread_db_detach): Do not adjust inferior_ptid. | |
197 | (clear_lwpid_callback, thread_db_resume, thread_db_kill): Delete. | |
198 | (check_event, find_new_threads_callback): Do not add TID to the new PTID. | |
199 | (thread_db_wait): Do not use lwp_from_thread. | |
200 | (thread_db_pid_to_str): Use the cached TID. | |
201 | (thread_db_extra_thread_info): Check that private is set. | |
202 | (same_ptid_callback): Delete. | |
203 | (thread_db_get_thread_local_address): Do not use it or check | |
204 | is_thread. Check that private is set. Assume that the thread | |
205 | handle is already cached. | |
206 | (init_thread_db_ops): Remove to_resume and to_kill. | |
207 | * thread.c (add_thread_with_info): New. | |
208 | (add_thread): Use it. | |
209 | * linux-nat.c (find_thread_from_lwp): Delete. | |
210 | (exit_lwp): Do not use it. Check print_thread_events. Print before | |
211 | deleting the thread. | |
212 | (GET_PID, GET_LWP, BUILD_LWP, is_lwp): Move to... | |
213 | * linux-nat.h (GET_PID, GET_LWP, BUILD_LWP, is_lwp): ...here. | |
214 | * inf-ttrace.c (inf_ttrace_wait): Use print_thread_events and | |
215 | printf_unfiltered for thread exits. | |
216 | * procfs.c (procfs_wait): Likewise. | |
217 | ||
6214f497 DJ |
218 | 2008-03-21 Chris Demetriou <[email protected]> |
219 | ||
220 | * symtab.c (rbreak_command): Quote symbol name before passing | |
221 | it to break_command. | |
222 | ||
63092375 DJ |
223 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
224 | ||
225 | * eval.c (evaluate_subexp_for_address): Clarify error message. | |
226 | Use value_must_coerce_to_target. | |
227 | * infcall.c (value_arg_coerce): Call value_coerce_to_target. | |
228 | * valops.c (value_assign): Call value_coerce_to_target when | |
229 | assigning to anything but internalvars. Leave GDB-side arrays | |
230 | as arrays when assigning to internalvars. | |
231 | (value_must_coerce_to_target, value_coerce_to_target): New. | |
232 | (value_coerce_array, value_addr): Call value_coerce_to_target. | |
233 | (value_array): Create the array in GDB's memory instead of | |
234 | the inferior's. | |
235 | * value.h (value_must_coerce_to_target, value_coerce_to_target): | |
236 | Declare. | |
237 | ||
b21991b0 DJ |
238 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
239 | ||
240 | * top.c (quit_confirm): Warn that we will kill the program. | |
241 | ||
49a834f9 PA |
242 | 2008-03-19 Pedro Alves <[email protected]> |
243 | ||
244 | * inflow.c (terminal_ours_1): Guard access to | |
245 | inferior_process_group with #ifdef PROCESS_GROUP_TYPE. | |
246 | ||
ae0d2f24 UW |
247 | 2008-03-18 Ulrich Weigand <[email protected]> |
248 | Jim Blandy <[email protected]> | |
249 | Daniel Jacobowitz <[email protected]> | |
250 | ||
251 | * dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member. | |
252 | (dwarf2_read_address): Update prototype. | |
253 | ||
254 | * dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter. | |
255 | (signed_address_type): Likewise. | |
256 | (dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE. | |
257 | (execute_stack_op): Update calls to unsigned_address_type, | |
258 | signed_address_type and dwarf2_read_address. Fix implementation | |
259 | of DW_OP_deref_size. | |
260 | ||
261 | * dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype. | |
262 | (dwarf2_per_cu_addr_size): Likewise. | |
263 | (struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU. | |
264 | (struct dwarf2_loclist_baton): Likewise. | |
265 | ||
266 | * dwarf2loc.c (find_location_expression): Update calls to | |
267 | dwarf2_read_address. Use dwarf2_per_cu_objfile and | |
268 | dwarf2_per_cu_addr_size to retrieve PER_CU parameters. | |
269 | (locexpr_describe_location): Likewise. | |
270 | (dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter. | |
271 | Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu). | |
272 | (dwarf2_loc_desc_needs_frame): Add PER_CU parameter. Set ctx->addr_size | |
273 | to dwarf2_per_cu_addr_size (per_cu). | |
274 | (locexpr_read_variable): Update dwarf2_evaluate_loc_desc call. | |
275 | (loclist_read_variable): Likewise. | |
276 | (locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call. | |
277 | ||
278 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu | |
279 | instead of baton->objfile. | |
280 | (dwarf2_per_cu_obfile): New function. | |
281 | (dwarf2_per_cu_addr_size): Likewise. | |
282 | ||
283 | * dwarf2-frame.c (struct comp_unit): Move higher. | |
284 | (struct dwarf2_cie): Add UNIT and ADDR_SIZE members. | |
285 | (execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size. | |
286 | (execute_cfa_program): Add FDE parameter. Replace EH_FRAME_P | |
287 | parameter by using fde->eh_frame_p. Use read_encoded_value | |
288 | to implement DW_CFA_set_loc. | |
289 | (struct dwarf2_frame_cache): Add ADDR_SIZE member. | |
290 | (dwarf2_frame_cache): Set cache->addr_size. Update calls to | |
291 | execute_stack_op and execute_cfa_program. | |
292 | (dwarf2_frame_prev_register): Update calls to execute_stack_op. | |
293 | (size_of_encoded_value): Remove. | |
294 | (read_encoded_value): Add PTR_LEN and FUNC_BASE parameters. | |
295 | Remove call to size_of_encoded_value. Implement DW_EH_PE_funcrel. | |
296 | (add_cie): Set cie->unit backlink. | |
297 | (decode_frame_entry_1): Set cie->addr_size. Update calls to | |
298 | read_encoded_value. | |
299 | (dwarf2_build_frame_info): Allocate UNIT on objfile obstack. | |
300 | ||
1c8201d1 MD |
301 | 2008-03-17 Markus Deuling <[email protected]> |
302 | ||
303 | * i386-tdep.c (i386_print_insn): Remove unnecessary call to | |
304 | gdbarch_bfd_arch_info. | |
305 | ||
46bba1ef JB |
306 | 2008-03-17 Joel Brobecker <[email protected]> |
307 | ||
308 | * aix-thread.c (pdc_read_regs): Minor reformatting. | |
309 | ||
0bcd3e20 VP |
310 | 2008-03-17 Vladimir Prus <[email protected]> |
311 | ||
312 | * thread.c (print_thread_info): Don't insist | |
313 | on having current thread if there are no | |
314 | threads at all. | |
315 | ||
9356cf8d PA |
316 | 2008-03-17 Pedro Alves <[email protected]> |
317 | ||
318 | * infcmd.c (attach_command_post_wait) | |
319 | (attach_command_continuation): New. | |
320 | (attach_command): Support background async execution, and async | |
321 | execution in synchronous mode. | |
322 | ||
5c3ce3f7 DJ |
323 | 2008-03-17 Daniel Jacobowitz <[email protected]> |
324 | ||
325 | * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR. | |
326 | * symmisc.c (dump_symtab_1): Likewise. | |
327 | * wrapper.c (gdb_value_struct_elt): Likewise. | |
328 | ||
fa2c6a57 PA |
329 | 2008-03-17 Pedro Alves <[email protected]> |
330 | ||
331 | * linux-nat.c (linux_nat_filter_event): Fix comment typo. | |
332 | ||
02f3fc28 PA |
333 | 2008-03-17 Pedro Alves <[email protected]> |
334 | ||
335 | * linux-nat.c (linux_nat_filter_event): New, refactored from | |
336 | linux_nat_wait. | |
337 | (linux_nat_wait): Call linux_nat_filter_event. | |
338 | ||
2f77b315 UW |
339 | 2008-03-17 Ulrich Weigand <[email protected]> |
340 | ||
341 | * top.c (execute_command): Fix uninitialized variable error. | |
342 | ||
f01be29b NH |
343 | 2008-03-16 Nick Hudson <[email protected]> |
344 | ||
345 | * Makefile.in (amd64nbsd-nat.o): New dependency. | |
346 | * amd64nbsd-nat.c: Include "nbsd-nat.h". | |
347 | (_initialize_amd64nbsd_nat): Update target vector to use | |
348 | nbsd_pid_to_exec_file. | |
349 | * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o. | |
350 | ||
6cf32704 VP |
351 | 2008-03-15 Vladimir Prus <[email protected]> |
352 | ||
353 | Remove ignoring leading exec events code. | |
354 | * fork-child.c (startup_inferior): Do not set | |
355 | inferior_ignoring_leading_exec_events. | |
356 | * inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove. | |
357 | (inf_child_target): Do not set to_reported_exec_events_per_exec_call. | |
358 | * infrun.c (inferior_ignoring_leading_exec_events): Remove. | |
359 | (handle_inferior_event): Remove code for ignoring leading exec | |
360 | events. | |
361 | * target.c (update_current_target): Do not inherit, or default, | |
362 | to_reported_exec_events_per_exec_call. | |
363 | (debug_to_reported_exec_events_per_exec_call): Remove. | |
364 | (setup_target_debug): Do not set to_reported_exec_events_per_exec_call. | |
365 | * target.h (target_reported_exec_events_per_exec_call): Remove. | |
366 | (struct target): Remove the to_reported_exec_events_per_exec_call | |
367 | field. | |
368 | ||
8e8901c5 VP |
369 | 2008-03-15 Vladimir Prus <[email protected]> |
370 | ||
371 | Implement -thread-info. | |
372 | * gdbthread.h (print_thread_info): Declare. | |
373 | ||
374 | * thread.c (print_thread_info): New, extracted | |
375 | from info_threads_command and adjusted to | |
376 | work for CLI and MI. | |
377 | (info_threads_command): Use print_thread_info. | |
378 | * Makefile.in: Update dependencies. | |
379 | ||
380 | * mi/mi-cmds.c (mi_cmds): Specify a handler | |
381 | for -thread-info. | |
382 | * mi/mi-cmds.h (mi_cmd_thread_info): Declare. | |
383 | * mi/mi-main.c (mi_cmd_thread_info): New. | |
384 | (mi_cmd_list_features): Include 'thread-info'. | |
385 | ||
7d1e6fb8 KB |
386 | 2008-03-14 Kevin Buettner <[email protected]> |
387 | ||
388 | * mips-tdep.c (mips32_scan_prologue): Use the ABI register size | |
389 | to decide whether to match instruction patterns using "sw" and "sd". | |
390 | ||
89113898 PA |
391 | 2008-03-14 Pedro Alves <[email protected]> |
392 | ||
393 | * infcmd.c (jump_command): Postpone disabling stdin until after | |
394 | the possible query. | |
395 | ||
64a0ac84 PA |
396 | 2008-03-14 Pedro Alves <[email protected]> |
397 | ||
398 | * inflow.c (gdb_getpgrp): New. | |
399 | (gdb_has_a_terminal): Use get_getpgrp. | |
400 | (terminal_ours_1): If attach_flag is set, don't refetch | |
401 | inferior_process_group. | |
402 | ||
1fddbabb PA |
403 | 2008-03-14 Pedro Alves <[email protected]> |
404 | ||
405 | * features/library-list.dtd: Allow "section" elements as children | |
406 | of "library". Add "section" element and describe its attributes. | |
407 | ||
408 | * solib-target.c (struct lm_info): Add section_bases member. | |
409 | (library_list_start_segment): Error out if seen a section element. | |
410 | (library_list_start_section): New. | |
411 | (library_list_end_library): New. | |
412 | (solib_target_free_library_list): Free section_bases. | |
413 | (section_attributes): New. | |
414 | (library_children): Make "segment" optional. Add "section" child. | |
415 | (library_list_children): Register library_list_end_library. | |
416 | (solib_target_relocate_section_addresses): Handle section bases. | |
417 | ||
418 | * NEWS: Mention new qXfer:libraries:read section offsets support. | |
419 | ||
712af3be VP |
420 | 2008-03-14 Vladimir Prus <[email protected]> |
421 | ||
422 | * defs.h (do_exec_error_cleanups, discard_exec_error_cleanups) | |
423 | (make_exec_error_cleanup): Remove declarations. | |
424 | * utils.c (exec_error_cleanup_chain): Remove. | |
425 | (do_exec_error_cleanups, discard_exec_error_cleanups) | |
426 | (make_exec_error_cleanup): Remove. | |
427 | * event-loop.c (start_event_loop): Adjust call to | |
428 | async_enable_stdin. | |
429 | * event-top.c (async_enable_stdin): Remove the paramater dummy. | |
430 | (async_disable_stdin): Don't register async_enable_stdin via | |
431 | cleanup. | |
432 | * inf-loop.c (inferior_event_handler): Don't | |
433 | call do_exec_error_cleanups. Call async_enable_stdin instead. | |
434 | * event-loop.c (start_event_loop): Adjust call to | |
435 | async_enable_stdin. | |
436 | * tui/tui-interp.c (tui_command_loop): Adjust call to | |
437 | async_enable_stdin. | |
438 | ||
32c1e744 VP |
439 | 2008-03-14 Vladimir Prus <[email protected]> |
440 | ||
441 | Async mode fixes. | |
442 | * Makefile.in (infcmd.o, inf-loop.o): Update dependencies. | |
443 | * breakpoint.c (bpstat_do_actions): In async mode, | |
444 | don't jump to top expecting stop_bpstat to be already | |
445 | updated. | |
446 | * event-loop.c (start_event_loop): Call async_enable_stdin | |
447 | on exception. | |
448 | * event-top.c (async_enable_stdin): Do nothing if sync_execution | |
449 | is not set. | |
450 | (command_handler): Do not setup continuation here. | |
451 | (command_line_handler_continuation): Move to... | |
452 | * top.c (command_line_handler_continuation): ... here. | |
453 | (execute_command): In async mode, register continuation. | |
454 | Don't check frame's language in running in async mode. | |
455 | * exceptions.c (throw_exception): Don't do exec_error_cleanups. | |
456 | * inf-loop.c (complete_execution): Inline into... | |
457 | (inferior_event_handler): ... here. Clear target_executing before | |
458 | doing any cleanups. Don't try to show prompt if the target was | |
459 | resumed. | |
460 | * infcmd.c (signal_command): Add support for async mode. | |
461 | (finish_command): Only add continuation if the target was | |
462 | successfully resumed. | |
463 | * remote.c (init_async_opts): Register to_get_thread_local_address | |
464 | handler. | |
465 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess | |
466 | with sync_execution. | |
467 | * tui/tui-interp.c (tui_command_loop): Call async_enable_stdin | |
468 | on exception. | |
469 | ||
c04ea773 DJ |
470 | 2008-03-14 Daniel Jacobowitz <[email protected]> |
471 | ||
472 | * corefile.c (reopen_exec_file): Use exec_bfd_mtime. | |
473 | * exec.c (exec_bfd_mtime): Define. | |
474 | (exec_close): Clear it. | |
475 | (exec_file_attach): Set it. | |
476 | * gdbcore.h (exec_bfd_mtime): Declare. | |
477 | * source.c (find_source_lines): Do not use bfd_get_mtime. | |
478 | ||
952dc227 VP |
479 | 2008-03-14 Vladimir Prus <[email protected]> |
480 | ||
481 | * top.c (simplified_command_loop): Remove. | |
482 | ||
4cf46804 VP |
483 | 2008-03-14 Vladimir Prus <[email protected]> |
484 | ||
485 | Remove unused remote.c hooks. | |
486 | * remote.c (deprecated_target_resume_hook) | |
487 | (deprecated_target_wait_loop_hook): Remove. | |
488 | (remote_resume): Do not call deprecated_target_resume_hook. | |
489 | (remote_wait): Do not call deprecated_target_wait_loop_hook. | |
490 | (remote_async_wait): Likewise. | |
491 | ||
683f2885 VP |
492 | 2008-03-14 Vladimir Prus <[email protected]> |
493 | ||
494 | Implement MI notification for new threads. | |
495 | * doc/observer.texi (new_thread): Document. | |
496 | * observer.sh: Forward declare struct thread_info. | |
497 | * thread.c (add_thread): Notify observer. | |
498 | ||
499 | * interps.h (interp_init_ftype): New parameter | |
500 | top_level. | |
501 | (interp_set): Likewise. | |
502 | (top_level_interpreter_data): Declare. | |
503 | * interps.c (interp_set): New parameter top_level. | |
504 | Pass it to interpreter's init function. Remember | |
505 | top level interpreter. | |
506 | (interpreter_exec_cmd): Adjust. | |
507 | (top_level_interpreter_data): New. | |
508 | * main.c (captured_main): Pass 1 for top_level | |
509 | parameter of interp_set. | |
510 | * cli/cli-interp.c (cli_interpreter_init): New | |
511 | parameter top_level. | |
512 | * tui/tui-interp.c (tui_init): New parameter top_level. | |
513 | ||
514 | * mi/mi-interp.c (mi_new_thread): New. | |
515 | (mi_interpreter_init): If top level, register | |
516 | observer for new threads. | |
517 | ||
518 | * Makefile.in (mi-interp.o, thread.o): Update dependencies. | |
519 | ||
ff9b3928 PA |
520 | 2008-03-14 Pedro Alves <[email protected]> |
521 | ||
522 | * top.c (execute_command): Disable break and stop | |
523 | commands in async mode. | |
524 | ||
b18392ef PA |
525 | 2008-03-14 Pedro Alves <[email protected]> |
526 | ||
527 | revert: | |
528 | 2008-03-14 Pedro Alves <[email protected]> | |
529 | * inf-loop.c (inferior_event_handler): Don't include remote.h. | |
530 | Call target_stop in the INF_QUIT_REQ case. | |
531 | * Makefile.in (inf-loop.o): Update. | |
532 | ||
0aca9f07 PA |
533 | 2008-03-14 Pedro Alves <[email protected]> |
534 | ||
535 | * inf-loop.c (inferior_event_handler): Don't include remote.h. | |
536 | Call target_stop in the INF_QUIT_REQ case. | |
537 | * Makefile.in (inf-loop.o): Update. | |
538 | ||
0b4e556c PA |
539 | 2008-03-14 Pedro Alves <[email protected]> |
540 | ||
541 | * top.c (execute_command): Enable break, info and interrupt | |
542 | commands in async mode. | |
543 | ||
8defab1a DJ |
544 | 2008-03-13 Vladimir Prus <[email protected]> |
545 | Daniel Jacobowitz <[email protected]> | |
546 | ||
547 | * breakpoint.h (breakpoint_restore_shadows): New | |
548 | declaration. | |
549 | * breakpoint.c (breakpoint_restore_shadows): New. | |
550 | (read_memory_nobpt): Delete. | |
551 | * gdbcore.h (read_memory_nobpt): Delete declaration. | |
552 | * target.c (memory_xfer_partial): Call | |
553 | breakpoint_restore_shadows. | |
554 | (restore_show_memory_breakpoints) | |
555 | (make_show_memory_beakpoints_cleanup): New. | |
556 | (show_memory_breakpoints): New. | |
557 | * target.h (make_show_memory_beakpoints_cleanup): Declare. | |
558 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): | |
559 | Make sure we see memory breakpoints when checking if | |
560 | breakpoint is still there. | |
561 | * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c, | |
562 | hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c, | |
563 | m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c, | |
564 | sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt. | |
565 | ||
fd532e2e PA |
566 | 2008-03-12 Pedro Alves <[email protected]> |
567 | ||
568 | * thread.c (add_thread): Use printf_unfiltered to print. | |
569 | ||
f749779f | 570 | 2008-03-12 Joel Brobecker <[email protected]> |
965b60ee JB |
571 | |
572 | * sol-thread.c: Replace use of TM_I386SOL2_H by an expression | |
573 | that is true only on x86-solaris and x86_64-solaris. | |
574 | * procfs.c: Likewise. Move procfs_find_LDT_entry up together | |
575 | with proc_get_LDT_entry. | |
576 | ||
577 | 2008-03-12 Thiago Jung Bauermann <[email protected]> | |
83116857 TJB |
578 | |
579 | * configure.ac (AC_CHECK_FUNCS): Add check for setsid. | |
580 | * config.in, configure: Regenerate. | |
581 | * fork-child.c (fork_inferior): Call create_tty_session. | |
582 | * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY. | |
583 | (create_tty_session): New function. | |
584 | * terminal.h: Declare create_tty_session. | |
585 | ||
4fbb74a6 AM |
586 | 2008-03-12 Alan Modra <[email protected]> |
587 | ||
588 | PR 5900 | |
589 | * elfread.c (elf_symtab_read): Make shndx an unsigned int. | |
590 | * mipsread.c: Include elf/internal.h. | |
591 | (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx | |
592 | to internal range. | |
593 | ||
20a6ec49 MD |
594 | 2008-03-11 Markus Deuling <[email protected]> |
595 | ||
596 | * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch | |
597 | to get at the current architecture and at the target specific vector. | |
598 | Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and | |
599 | remove define of I387_ST0_REGNUM. | |
600 | ||
601 | * amd64-tdep.c (I387_ST0_REGNUM): Remove define. | |
602 | ||
603 | (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to | |
604 | get at the current architecture | |
605 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as | |
606 | parameter. | |
607 | ||
608 | * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM, | |
609 | I387_NUM_XMM_REGS and I387_MM0_REGNUM. | |
610 | ||
611 | (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM, | |
612 | I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM, | |
613 | (I387_FSTAT_REGNUM): Add target specific vector as parameter. | |
614 | ||
615 | (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get | |
616 | at the target specific vector. | |
617 | ||
618 | (i386_get_longjmp_target): Use get_frame_arch to get at the current | |
619 | architecture. Use gdbarch_tdep to get at the target specific vector. | |
620 | ||
621 | (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and | |
622 | update caller. Use gdbarch_tdep to get at the target specific vector. | |
623 | ||
624 | (i386_register_to_value: Use get_frame_arch to get at the current | |
625 | architecture. | |
626 | ||
627 | * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as | |
628 | parameter. | |
629 | ||
630 | * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, | |
631 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM | |
632 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR, | |
633 | FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter. | |
634 | ||
635 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and | |
636 | undef's. | |
637 | ||
638 | (i387_convert_register_p, i387_register_to_value, | |
639 | i387_value_to_register): Update call for i386_fp_regnum_p. | |
640 | ||
641 | * i387-tdep.h: Remove comment. | |
642 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define. | |
643 | (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, | |
644 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM, | |
645 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM, | |
646 | I387_MXCSR_REGNUM): Add target specific vector as parameter. | |
647 | ||
ccd213ac DJ |
648 | 2008-03-10 Daniel Jacobowitz <[email protected]> |
649 | ||
650 | * Makefile.in (fork-child.o): Update. | |
651 | * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper | |
652 | argument. Gather all gdbserver features together. | |
653 | * fork-child.c (exec_wrapper): New variable. | |
654 | (fork_inferior): Use it. | |
655 | (startup_inferior): Skip an extra trap if using "set exec-wrapper". | |
656 | (unset_exec_wrapper_command, _initialize_fork_child): New. | |
657 | ||
658 | 2008-03-10 Hidetaka Takano <[email protected]> | |
80618b99 MS |
659 | |
660 | * source.c (directory_command): Modify the determination of | |
661 | condition of terminal "from_tty". | |
662 | ||
22566fbd DJ |
663 | 2008-03-10 Matt Rice <[email protected]> |
664 | ||
665 | * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. | |
666 | ||
9971ac47 UW |
667 | 2008-03-10 Hidetaka Takano <[email protected]> |
668 | ||
669 | * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end | |
670 | of the data passing to strtoulst function. | |
671 | (info_spu_signal_command): Likewise. | |
672 | ||
835670cf VP |
673 | 2008-03-08 Vladimir Prus <[email protected]> |
674 | ||
675 | * mi/mi-interp.c (mi_command_loop): Remove | |
676 | commented-out code. | |
677 | ||
be86555c JB |
678 | 2008-03-07 Joel Brobecker <[email protected]> |
679 | ||
680 | * remote.c (extended_remote_attach_1): Make local variable pid an int | |
681 | instead of a pid_t. | |
682 | ||
4d7b2d5b JB |
683 | 2008-03-07 Joel Brobecker <[email protected]> |
684 | ||
685 | * solib-svr4.c (svr4_same_1): New function, originally extracted | |
686 | from svr4_same and expanded to handle the sparc64 case. | |
687 | (svr4_same): Move up and reimplement using svr4_same_1. | |
688 | (enable_break): Use svr4_same_1 to do shared library name comparisons. | |
689 | ||
61fed90e RR |
690 | 2008-03-07 Ramana Radhakrishnan <[email protected]> |
691 | ||
692 | * MAINTAINERS: Move self to Paper trail. | |
693 | ||
b803fb0f DJ |
694 | 2008-03-05 Daniel Jacobowitz <[email protected]> |
695 | ||
696 | * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update. | |
697 | * event-loop.c (call_async_signal_handler): New. | |
698 | * event-loop.h (call_async_signal_handler) | |
699 | (gdb_call_async_signal_handler): Declare. | |
700 | (mark_async_signal_handler): Add comments. | |
701 | * event-top.c (handle_sigint): Use gdb_call_async_signal_handler. | |
702 | * mingw-hdep.c (sigint_event, sigint_handler): New. | |
703 | (gdb_select): Use them. Wait for the readline signal handler | |
704 | to finish. | |
705 | (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions. | |
706 | * posix-hdep.c (gdb_call_async_signal_handler): New function. | |
707 | * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt): | |
708 | New. | |
709 | (remote_fileio_ctrl_c_signal_handler): Use | |
710 | gdb_call_async_signal_handler. | |
711 | (initialize_remote_fileio): Initialize sigint_fileio_token. | |
712 | * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do | |
713 | not initialize tokens here. | |
714 | (handle_remote_sigint_twice): Likewise. Reinstall | |
715 | handle_remote_sigint. | |
716 | (async_remote_interrupt_twice): Just call interrupt_query. | |
717 | (cleanup_sigint_signal_handler): Do not delete tokens. | |
718 | (remote_interrupt, remote_interrupt_twice): Use | |
719 | gdb_call_async_signal_handler. | |
720 | (interrupt_query): Reinstall the default signal handler. | |
721 | (_initialize_remote): Initialize tokens here. | |
722 | ||
8f4d54ed JB |
723 | 2008-03-04 Joel Brobecker <[email protected]> |
724 | ||
725 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml, | |
726 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
727 | Change the type of the lr register to code_ptr. | |
728 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
729 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
730 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
731 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
732 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
733 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
734 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate. | |
735 | ||
95ece428 JW |
736 | 2008-03-03 James E. Wilson <[email protected]> |
737 | ||
738 | * MAINTAINERS: Update my email address. | |
739 | ||
686a5eed KS |
740 | 2008-03-03 Keith Seitz <[email protected]> |
741 | ||
742 | From Dave Murphy <[email protected]>: | |
743 | * configure.ac: Set tcl configdir to win under mingw. | |
744 | * configure: Regenerate. | |
745 | ||
fa4727a6 DJ |
746 | 2008-03-03 Daniel Jacobowitz <[email protected]> |
747 | ||
748 | * breakpoint.c (fetch_watchpoint_value): New function. | |
749 | (update_watchpoint): Set and clear val_valid. Use | |
750 | fetch_watchpoint_value. Handle unreadable values on the | |
751 | value chain. Correct check for user-requested array watchpoints. | |
752 | (breakpoint_init_inferior): Clear val_valid. | |
753 | (watchpoint_value_print): New function. | |
754 | (print_it_typical): Use it. Do not free or clear old_val. Print | |
755 | watchpoints even if old_val == NULL. | |
756 | (watchpoint_check): Use fetch_watchpoint_value. Check for values | |
757 | becoming readable or unreadable. | |
758 | (watch_command_1): Use fetch_watchpoint_value. Set val_valid. | |
759 | (do_enable_watchpoint): Likewise. | |
760 | * breakpoint.h (struct breakpoint): Update comment for val. Add | |
761 | val_valid. | |
762 | * NEWS: Mention watchpoints on inaccessible memory. | |
763 | ||
c03374d5 DJ |
764 | 2007-02-29 Daniel Jacobowitz <[email protected]> |
765 | ||
766 | * Makefile.in (i386-nat.o): Update. | |
767 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call | |
768 | i386_use_watchpoints. | |
769 | * i386-linux-nat.c (_initialize_i386_linux_nat): Call | |
770 | i386_use_watchpoints. | |
771 | * i386-nat.c (i386_stopped_data_address): Take two arguments. | |
772 | (i386_stopped_by_watchpoint): Update call. | |
773 | (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. | |
774 | * config/i386/nm-i386.h: Conditionalize definitions on | |
775 | ! I386_WATCHPOINTS_IN_TARGET_VECTOR. | |
776 | (i386_use_watchpoints): Declare. | |
777 | (i386_stopped_data_address): Update. | |
778 | * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
779 | * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
780 | ||
c24d7425 | 781 | 2008-02-29 Joel Brobecker <[email protected]> |
782 | ||
783 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) | |
784 | * version.in: Bump version to 6.8.50.20080229-cvs. | |
785 | ||
a7dfd010 MD |
786 | 2008-02-28 Markus Deuling <[email protected]> |
787 | ||
788 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING | |
789 | properly. | |
790 | ||
258c00cc TT |
791 | 2008-02-28 Tom Tromey <[email protected]> |
792 | ||
793 | * infcmd.c (notice_args_read): Print result of get_inferior_args. | |
794 | ||
8edfe269 DJ |
795 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
796 | ||
797 | * infcmd.c (kill_if_already_running): Make static. Use | |
798 | target_require_runnable. | |
799 | * target.c (target_require_runnable): New. | |
800 | * target.h (target_require_runnable): Declare. | |
801 | ||
0d6ba1b1 DJ |
802 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
803 | ||
804 | * frame.c (reinit_frame_cache): Only annotate if frames were | |
805 | previously valid. | |
806 | ||
6fe305f7 UW |
807 | 2008-02-28 Ulrich Weigand <[email protected]> |
808 | ||
809 | * regformats/reg-ppc.dat: Rename "ps" to "msr". | |
810 | * regformats/reg-ppc64.dat: Likewise. | |
811 | ||
9b4b61c8 UW |
812 | 2008-02-28 Ulrich Weigand <[email protected]> |
813 | ||
814 | * features/Makefile (%.dat): Emit xmltarget statement. | |
815 | ||
816 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. | |
817 | Generate code to set gdbserver_xmltarget in init_registers_${name}. | |
818 | ||
819 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
820 | * regformats/mips64-linux.dat: Regenerate. | |
821 | * regformats/mips-linux.dat: Regenerate. | |
822 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
823 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
824 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
825 | ||
826 | * regformats/reg-arm.dat: Add xmlarch statement. | |
827 | * regformats/reg-i386.dat: Likewise. | |
828 | * regformats/reg-i386-linux.dat: Likewise. | |
829 | * regformats/reg-x86-64-linux.dat: Likewise. | |
830 | * regformats/reg-spu.dat: Likewise. | |
831 | ||
20b4711e DJ |
832 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
833 | ||
834 | * remote.c (remote_wait, remote_async_wait): Stop if we receive | |
835 | an error. | |
836 | ||
1843f87b DJ |
837 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
838 | ||
839 | * utils.c (debug_timestamp): New. | |
840 | (vfprintf_unfiltered): Print timestamps if requested. | |
841 | (show_debug_timestamp): New. | |
842 | (initialize_utils): Register "set debug timestamp". | |
843 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. | |
844 | ||
6a048695 JB |
845 | 2008-02-27 Joel Brobecker <[email protected]> |
846 | ||
847 | * breakpoint.c (skip_prologue_sal): New function. | |
848 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was | |
849 | computed from a line number. | |
850 | ||
0b998f49 JB |
851 | 2008-02-27 Joel Brobecker <[email protected]> |
852 | ||
853 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml | |
854 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
855 | Set PC register type to "code_ptr". | |
856 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
857 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
858 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
859 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
860 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
861 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
862 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: | |
863 | Regenerate. | |
864 | ||
d05b4ac3 UW |
865 | 2008-02-27 Ulrich Weigand <[email protected]> |
866 | ||
867 | * regformats/regdat.sh: Rename init_registers function in | |
868 | generated file to init_registers_${name}. | |
869 | ||
870 | * regformats/reg-crisv32.dat: Set "name" to crisv32. | |
871 | * regformats/reg-ppc64.dat: Set "name" to ppc64. | |
872 | * regformats/reg-s390x.dat: Set "name" to s390x. | |
873 | ||
a5d9d57d DJ |
874 | 2008-02-26 Greg Law <[email protected]> |
875 | ||
876 | * regcache.c (registers_changed): Call reinit_frame_cache. | |
877 | ||
e25c958c DJ |
878 | 2008-02-26 Daniel Jacobowitz <[email protected]> |
879 | ||
880 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. | |
881 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver | |
882 | and svr4_fetch_objfile_link_map. | |
883 | * Makefile.in (sh-linux-tdep.o): Update. | |
884 | ||
5daa78cc TJB |
885 | 2008-02-26 Thiago Jung Bauermann <[email protected]> |
886 | ||
887 | * amd64-tdep.c (amd64_classify): Add support for decimal float | |
888 | types. | |
889 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float | |
890 | use the struct return convention. | |
891 | ||
54e52265 VP |
892 | 2008-02-26 Nick Roberts <[email protected]> |
893 | ||
894 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field | |
895 | to old format. Discard breakpoint address if shared library is | |
896 | unloaded. | |
897 | (breakpoint_1): Adjust formatting of table header accordingly. | |
898 | ||
d8f2712d VP |
899 | 2008-02-25 Vladimir Prus <[email protected]> |
900 | ||
901 | * remote.c (remote_get_threadlist): If the response | |
902 | is empty, don't try to parse it. | |
903 | ||
05ce04a4 VP |
904 | 2008-02-23 Vladimir Prus <[email protected]> |
905 | ||
906 | Unbreak 'target async'. | |
907 | * serial.c (serial_async): Set the | |
908 | handler function before enabling async | |
909 | mode. | |
910 | ||
b36ec657 DJ |
911 | 2008-02-22 Daniel Jacobowitz <[email protected]> |
912 | ||
913 | * solib-svr4.c (enable_break): Convert r_brk to a code address. | |
914 | ||
df7df359 PA |
915 | 2008-02-21 Pedro Alves <[email protected]> |
916 | ||
917 | * remote.c (extended_remote_attach_1): Set attach_flag. | |
918 | (extended_remote_create_inferior_1): Clear attach_flag. | |
919 | ||
7cd25cfc DJ |
920 | 2008-02-20 Daniel Jacobowitz <[email protected]> |
921 | ||
922 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set | |
923 | r_brk_offset. | |
924 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
925 | * solib-svr4.c (solib_svr4_r_brk): New. | |
926 | (open_symbol_file_object, svr4_current_sos): Always check the | |
927 | debug base. | |
928 | (svr4_fetch_objfile_link_map): Do not set debug_base. | |
929 | (enable_break): Use r_brk if it is set. | |
930 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. | |
931 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
932 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. | |
933 | ||
07ea644b MD |
934 | 2008-02-20 Markus Deuling <[email protected]> |
935 | Mark Kettenis <[email protected]> | |
936 | ||
937 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by | |
938 | trad_frame_saved_reg. | |
939 | (trad-frame.h): New include. | |
940 | ||
941 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs | |
942 | instead of frame_obstack_zalloc. | |
943 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. | |
944 | ||
945 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. | |
946 | ||
40887e1a MD |
947 | 2008-02-20 Markus Deuling <[email protected]> |
948 | ||
949 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess | |
950 | from disassemble_info instead of gdbarch_byte_order. | |
951 | ||
952 | * mips-tdep.c (gdb_print_insn_mips): Likewise. | |
953 | * arm-tdep.c (gdb_print_insn_arm): Likewise. | |
954 | ||
ae4b2284 MD |
955 | 2008-02-20 Markus Deuling <[email protected]> |
956 | ||
957 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add | |
958 | gdbarch as parameter. | |
959 | ||
960 | * gdbarch.{c,h}: Regenerate. | |
961 | ||
962 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
963 | parameter. | |
964 | * mem-break.c (default_memory_insert_breakpoint) | |
965 | (default_memory_remove_breakpoint): Likewise. | |
966 | * target.h (default_memory_remove_breakpoint) | |
967 | (default_memory_insert_breakpoint): Likewise. | |
968 | ||
969 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
970 | parameter. Replace current_gdbarch by gdbarch. | |
971 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
972 | (m32r_memory_remove_breakpoint): Likewise. | |
973 | ||
d9bf65d5 DJ |
974 | 2008-02-19 Daniel Jacobowitz <[email protected]> |
975 | ||
976 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. | |
977 | ||
b93b6ca7 JB |
978 | 2008-02-19 Joel Brobecker <[email protected]> |
979 | ||
980 | * NEWS: Add entry describing Add support improvements. | |
981 | ||
4ed226fe MD |
982 | 2008-02-18 Markus Deuling <[email protected]> |
983 | ||
984 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by | |
985 | M68K_FP0_REGNUM. | |
986 | ||
caaa79ad MD |
987 | 2008-02-18 Markus Deuling <[email protected]> |
988 | ||
989 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call | |
990 | register_offset_hack anymore. | |
991 | ||
992 | * regcache.{c,h} (register_offset_hack): Remove. | |
993 | ||
e38c262f MD |
994 | 2008-02-18 Markus Deuling <[email protected]> |
995 | ||
996 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. | |
997 | ||
998 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace | |
999 | current_gdbarch by gdbarch. | |
1000 | (hppa64_hpux_find_global_pointer): Likewise. | |
1001 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. | |
1002 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for | |
1003 | find_global_pointer. | |
1004 | ||
1005 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as | |
1006 | parameter. | |
1007 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. | |
1008 | ||
1009 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead | |
1010 | of gdbarch_num_regs. | |
1011 | ||
1012 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and | |
1013 | replace current_gdbarch by gdbarch. | |
1014 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. | |
1015 | ||
206988c4 MD |
1016 | 2008-02-18 Markus Deuling <[email protected]> |
1017 | ||
1018 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter | |
1019 | and replace current_gdbarch by gdbarch. | |
1020 | ||
1021 | (store_register): Update call for exec_one_dummy_insn. | |
1022 | (fetch_register, store_register): Update call of regmap. | |
1023 | ||
1024 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as | |
1025 | parameter and replace current_gdbarch by gdbarch. | |
1026 | ||
1027 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
1028 | the current architecture. Update call for getregs_supplies and | |
1029 | getfpregs_supplies. | |
1030 | (ppcnbsd_fetch_inferior_registers): Likewise. | |
1031 | ||
1032 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and | |
1033 | replace current_gdbarch by gdbarch. | |
1034 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use | |
1035 | get_regcache_arch to get at the current architecture. Update call for | |
1036 | getfpregs_supplies. | |
1037 | ||
f642be6b MD |
1038 | 2008-02-18 Markus Deuling <[email protected]> |
1039 | ||
1040 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch | |
1041 | variables. | |
1042 | ||
b1f2bf01 MD |
1043 | 2008-02-15 Markus Deuling <[email protected]> |
1044 | ||
1045 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. | |
1046 | ||
ee163bf5 VP |
1047 | 2008-02-14 Vladimir Prus <[email protected]> |
1048 | ||
1049 | * NEWS: Mention pending breakpints in MI. | |
1050 | ||
f6fbcbf9 MD |
1051 | 2008-02-14 Markus Deuling <[email protected]> |
1052 | ||
1053 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. | |
1054 | ||
36af4ef6 MD |
1055 | 2008-02-13 Markus Deuling <[email protected]> |
1056 | ||
1057 | Add script to build and test GDB using enable-targets=all. | |
1058 | ||
1059 | * gdb_buildall.sh: New file. | |
1060 | ||
94a0e877 MG |
1061 | 2008-02-11 Maxim Grigoriev <[email protected]> |
1062 | ||
1063 | * NEWS (New native configurations): Xtensa GNU/Linux. | |
1064 | (New targets): Xtensa GNU/Linux. | |
1065 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and | |
1066 | xtensa-linux-tdep.o | |
1067 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c | |
1068 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. | |
1069 | * configure.tgt (xtensa*-*-linux*): New entry. | |
1070 | * xtensa-config.c (xtensa_tdep): New variable. | |
1071 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. | |
1072 | (rmap): Change format based on new macro XTREG. | |
1073 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. | |
1074 | * xtensa-linux-nat.c: New. | |
1075 | * xtensa-linux-tdep.c: New. | |
1076 | * xtensa-xtregs.c: New. | |
1077 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. | |
1078 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) | |
1079 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. | |
1080 | (xtensa_register_t): New field coprocessor. | |
1081 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. | |
1082 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. | |
1083 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): | |
1084 | Update to handle privileged registers. | |
1085 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. | |
1086 | (xtensa_push_dummy_call): Set windowstart register correctly. | |
1087 | (call0_analyze_prologue): Initialize xtensa_default_isa. | |
1088 | (xtensa_derive_tdep): New. | |
1089 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and | |
1090 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. | |
1091 | Call xtensa_derive_tdep(). | |
1092 | * config/xtensa/linux.mh: New. | |
1093 | * regformats/reg-xtensa.dat: New. | |
1094 | ||
b7ee1b0a | 1095 | 2008-02-09 Aleksandar Ristovski <[email protected]> (tiny change) |
f90c07ac EZ |
1096 | |
1097 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. | |
1098 | (filenames.h): New include. | |
1099 | * Makefile.in (corelow.o): Add dependency for filenames.h. | |
1100 | ||
8da2a1df DJ |
1101 | 2008-02-08 Doug Evans <[email protected]> |
1102 | ||
1103 | * source.c (find_and_open_source): Always rewrite absolute filenames. | |
1104 | ||
776592bf DE |
1105 | 2008-02-07 Doug Evans <[email protected]> |
1106 | ||
1107 | * breakpoint.c: #include "hashtab.h". | |
1108 | (ambiguous_names_p): New fn. | |
1109 | (update_breakpoint_locations): When restoring bp enable status, don't | |
1110 | compare function names if any functions have same name. | |
1111 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. | |
1112 | ||
d6565258 JB |
1113 | 2008-02-07 Joel Brobecker <[email protected]> |
1114 | ||
1115 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** | |
1116 | instead of just a VEC*. Update use of SV. | |
1117 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. | |
1118 | ||
6d53d0af JB |
1119 | 2007-02-07 Joel Brobecker <[email protected]> |
1120 | ||
1121 | * NEWS: Put all new commands since gdb-6.7 together. | |
1122 | ||
2ba95b9b JB |
1123 | 2007-02-07 Joel Brobecker <[email protected]> |
1124 | ||
1125 | * ada-lang.c: #include "vec.h". | |
1126 | (struct string_vector, new_string_vector, string_vector_append): | |
1127 | Delete. | |
1128 | (char_ptr): New typedef. | |
1129 | (DEF_VEC_P (char_ptr)): New VEC type. | |
1130 | (symbol_completion_add): Update profile to take the new VEC type | |
1131 | instead of the old string_vector structure. Update code accordingly. | |
1132 | (ada_make_symbol_completion_list): Use the new VEC type instead of | |
1133 | the old string_vector structure, and update the code accordingly. | |
1134 | * Makefile.in (ada-lang.o): Add dependency on vec.h. | |
1135 | ||
4ae0885a PM |
1136 | 2008-02-06 Pierre Muller <[email protected]> |
1137 | ||
1138 | * p-exp.y: Set current_type in missing places. | |
1139 | (leftdiv_is_integer): New static variable. | |
1140 | Typecast right operand of BINOP_DIV to long_double if both operands | |
1141 | are integers. | |
1142 | ||
06b1d59c MR |
1143 | 2008-02-06 Maciej W. Rozycki <[email protected]> |
1144 | ||
1145 | * remote-mips.c (set_breakpoint): Rename to... | |
1146 | (mips_set_breakpoint): ... this. | |
1147 | (clear_breakpoint): Rename to... | |
1148 | (mips_clear_breakpoint): ... this. | |
1149 | (common_breakpoint): Rename to... | |
1150 | (mips_common_breakpoint): ... this. | |
1151 | (check_lsi_error): Rename to... | |
1152 | (mips_check_lsi_error): ... this. | |
1153 | ||
41d27058 JB |
1154 | 2007-02-05 Joel Brobecker <[email protected]> |
1155 | ||
1156 | * language.h (struct language_defn): Add new field | |
1157 | la_make_symbol_completion_list. | |
1158 | * symtab.c (default_make_symbol_completion_list): Renames | |
1159 | make_symbol_completion_list. | |
1160 | (make_symbol_completion_list): New function. | |
1161 | * symtab.h (default_make_symbol_completion_list): Add declaration. | |
1162 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. | |
1163 | (auto_language, local_language): Likewise. | |
1164 | * objc-lang.c (objc_language_defn): Likewise. | |
1165 | * scm-lang.c (scm_language_defn): Likewise. | |
1166 | * m2-lang.c (m2_language_defn): Likewise. | |
1167 | * f-lang.c (f_language_defn): Likewise. | |
1168 | * jv-lang.c (java_language_defn): Likewise. | |
1169 | * p-lang.c (pascal_language_defn): Likewise. | |
1170 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) | |
1171 | (minimal_language_defn): Likewise. | |
1172 | * ada-lang.c (struct string_vector): New structure. | |
1173 | (new_string_vector, string_vector_append, ada_unqualified_name) | |
1174 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) | |
1175 | (ada_make_symbol_completion_list): New functions. | |
1176 | (ada_language_defn): Set la_make_symbol_completion_list. | |
1177 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, | |
1178 | this function is static. | |
1179 | ||
ee3a2f01 KB |
1180 | 2008-02-05 Kevin Buettner <[email protected]> |
1181 | ||
1182 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer | |
1183 | to account for call site optimizations. | |
1184 | ||
d844e34b JB |
1185 | 2008-02-05 Andrzej Zaborowski <[email protected]> |
1186 | ||
1187 | * tracepoint.c (read_actions): Handle end-of-text indicator | |
1188 | in action list properly. (Committed by Jim Blandy) | |
1189 | ||
02e4669d JB |
1190 | 2008-02-05 Jim Blandy <[email protected]> |
1191 | ||
1192 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a | |
1193 | pseudoregister, not an internal error. | |
85ecb32b | 1194 | Reported by: Andrzej Zaborowski |
02e4669d | 1195 | |
c39c8256 VP |
1196 | 2008-02-04 Vladimir Prus <[email protected]> |
1197 | ||
1198 | * varobj.c (c_value_of_variable): Use xstrdup. | |
1199 | ||
ae7d22a6 VP |
1200 | 2008-02-04 Vladimir Prus <[email protected]> |
1201 | ||
1202 | Update stored rendition of varobj value when format changes. | |
1203 | * varobj.c (varobj_set_display_format): Recomputed | |
1204 | print_value. | |
1205 | (c_value_of_variable): Return print_value. | |
1206 | ||
81fe8080 DE |
1207 | 2008-02-03 Doug Evans <[email protected]> |
1208 | ||
301f0ecf DE |
1209 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
1210 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. | |
1211 | * valops.c (value_one): New function. | |
1212 | * value.h (value_one): Declare. | |
1213 | ||
1214 | Fix argument promotion for binary arithmetic ops for C. | |
1215 | * valarith.c (unop_result_type): New fn. | |
1216 | (binop_result_type): New fn. | |
1217 | (value_binop): Move result type computation to binop_result_type. | |
1218 | (value_pos, value_neg, value_complement): Move result type | |
1219 | computation to unop_result_type. | |
1220 | ||
81fe8080 DE |
1221 | PR 2384 |
1222 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
1223 | Return basetype, fieldno if found. All callers updated. | |
1224 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different | |
1225 | objfile. | |
1226 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
1227 | * symfile.h (fill_in_vptr_fieldno): Delete. | |
1228 | ||
41808ebe DE |
1229 | 2008-02-02 Doug Evans <[email protected]> |
1230 | ||
f8597ac3 DE |
1231 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
1232 | ||
41808ebe DE |
1233 | * typeprint.c (*): Whitespace cleanup. |
1234 | ||
f964a756 MK |
1235 | 2008-02-02 Mark Kettenis <[email protected]> |
1236 | Luis Machado <[email protected]> | |
1237 | Thiago Jung Bauermann <[email protected]> | |
1238 | ||
1239 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that | |
1240 | don't fit into registerson the stack the way GCC does. | |
1241 | ||
b06ead72 JB |
1242 | 2008-02-01 Joel Brobecker <[email protected]> |
1243 | ||
1244 | * symtab.c (symbol_set_names): Do not add an entry in the demangling | |
1245 | hash table for Ada symbols. Just store the linkage name as is, | |
1246 | and leave the demangled_name as NULL. | |
1247 | ||
2cfa0c8d JB |
1248 | 2007-02-01 Joel Brobecker <[email protected]> |
1249 | ||
1250 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms | |
1251 | in the global scope. | |
1252 | (new_symbol): Likewise. | |
1253 | ||
98deb0da VP |
1254 | 2008-02-01 Vladimir Prus <[email protected]> |
1255 | ||
1256 | * breakpoint.c (break_command_1): Return void. | |
1257 | (break_command_really): Return void. Rethrow | |
1258 | exceptions instead of returning. | |
1259 | (gdb_breakpoint): Remove the error_message parameter. | |
1260 | Return void. Rename to set_breakpoint. | |
1261 | * gdb.h (gdb_breakpoint): Rename and move to... | |
1262 | * breakpoint.h (set_breakpoint): ...here. | |
1263 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore | |
1264 | event hooks even if exception is thrown. Adjust to | |
1265 | gdb_breakpoint interface changes. | |
1266 | ||
1267 | ||
ce0451ad TJB |
1268 | 2008-02-01 Thiago Jung Bauermann <[email protected]> |
1269 | ||
1270 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit | |
1271 | float in both first and second word in the doubleword, to support | |
1272 | old and new ABIs. | |
1273 | ||
723a2275 VP |
1274 | 2008-02-01 Vladimir Prus <[email protected]> |
1275 | ||
1276 | Properly rethrow exception. This fixes errors | |
1277 | about non-existent functions for -break-insert. | |
1278 | * breakpoint.c (break_command_really): Use throw_exception | |
1279 | for rethrowing. If rethrowing, don't print the exception. | |
1280 | ||
d64a946d TJB |
1281 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
1282 | ||
1283 | * NEWS: Mention Decimal Floating Point support. | |
1284 | ||
02b156f5 JB |
1285 | 2008-01-31 Joel Brobecker <[email protected]> |
1286 | ||
1287 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned | |
1288 | value type to builtin_type_void_func_ptr. | |
1289 | ||
a16b8bcd UW |
1290 | 2008-01-31 Andreas Krebbel <[email protected]> |
1291 | ||
1292 | * s390-tdep.c (is_float_singleton, is_float_like, | |
1293 | alignment_of, s390_return_value): Make checks for | |
1294 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. | |
1295 | ||
f949c649 TJB |
1296 | 2008-01-31 Luis Machado <[email protected]> |
1297 | Thiago Jung Bauermann <[email protected]> | |
1298 | ||
1299 | * infcmd.c (default_print_registers_info): Also print hex | |
1300 | raw contents for TYPE_CODE_DECFLOAT registers. | |
1301 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. | |
1302 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. | |
1303 | (rs6000_register_name): Add support for DFP pseudo-registers. | |
1304 | (rs6000_pseudo_register_type): Likewise. | |
1305 | rs6000_pseudo_register_reggroup_p): Likewise. | |
1306 | (ppc_pseudo_register_read): New function. | |
1307 | (ppc_pseudo_register_write): Likewise. | |
1308 | (rs6000_pseudo_register_read): Likewise. | |
1309 | (rs6000_pseudo_register_write): Likewise. | |
1310 | (e500_pseudo_register_read): Move checks to | |
1311 | rs6000_pseudo_register_read. | |
1312 | (e500_pseudo_register_write): Move checks to | |
1313 | rs6000_pseudo_register_write. | |
1314 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install | |
1315 | rs6000_pseudo_register_read and rs6000_pseudo_register_write | |
1316 | in gdbarch if SPE or DFP is available. Adjust gdbarch's | |
1317 | num_pseudo_regs to account for DFP pseudo regs. | |
1318 | ||
5a9e69ba TJB |
1319 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
1320 | ||
1321 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. | |
1322 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. | |
1323 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, | |
1324 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, | |
1325 | e500_pseudo_register_read, e500_pseudo_register_write): Use | |
1326 | IS_SPE_PSEUDOREG macro. | |
1327 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. | |
1328 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. | |
1329 | Remove initialization of tdep->ppc_ev31_regnum. | |
1330 | ||
4e885b20 JB |
1331 | 2008-01-08 Paul Hilfinger <[email protected]> |
1332 | ||
1333 | * printcmd.c (print_formatted): Handle references as for unformatted | |
1334 | prints. | |
1335 | ||
80f064a2 JB |
1336 | 2008-01-30 Joel Brobecker <[email protected]> |
1337 | ||
1338 | * eval.c (evaluate_subexp_standard): Add handling of user | |
1339 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. | |
1340 | ||
9b3442ee PM |
1341 | 2008-01-30 Pierre Muller <[email protected]> |
1342 | ||
1343 | * eval.c (evaluate_subexp_standard): Support | |
1344 | BINOP_INTDIV opcode. | |
1345 | ||
d118ef87 PH |
1346 | 2008-01-30 Paul N. Hilfinger <[email protected]> |
1347 | ||
1348 | * valarith.c (value_binop): Add floating-point BINOP_MIN and | |
1349 | BINOP_MAX cases. | |
1350 | For BINOP_EXP, use length and signedness of left operand only for | |
1351 | result, as for shifts. | |
1352 | For integral operands to BINOP_EXP, use new integer_pow and | |
1353 | uinteger_pow functions so as to get full range of results. | |
1354 | (integer_pow): New function. | |
1355 | (uinteger_pow): New function. | |
1356 | ||
d56d46f5 VP |
1357 | 2008-01-30 Vladimir Prus <[email protected]> |
1358 | ||
1359 | Use vector for varobj_list_children interface. | |
1360 | * gdb/varobj.c (varobj_list_children): Return vector | |
1361 | of varobjs. | |
1362 | * gdb/varobj.h (varobj_list_children): Adjust | |
1363 | prototype. | |
1364 | (varobj_p): Declare. Declare vector thereof. | |
1365 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust | |
1366 | for varobj_list_children change. | |
1367 | * Makefile.in (varobj_h): Update dependencies. | |
1368 | ||
1300a2f4 TJB |
1369 | 2008-01-30 Thiago Jung Bauermann <[email protected]> |
1370 | ||
1371 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
1372 | TYPE_CODE_DECFLOAT arguments. | |
1373 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
1374 | (get_decimal_float_return_value): New function. | |
1375 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
1376 | values by calling get_decimal_float_return_value. | |
1377 | (ppc64_sysv_abi_return_value): Likewise. | |
1378 | ||
95ef687d NR |
1379 | 2008-01-30 Nick Roberts <[email protected]> |
1380 | ||
1381 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
1382 | for preprocessor macro information. Formatting changes. | |
1383 | ||
2d717e4f DJ |
1384 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
1385 | ||
1386 | * remote.c (struct remote_state): Add cached_wait_status. | |
1387 | (remote_exec_file): New variable. | |
1388 | (PACKET_vAttach, PACKET_vRun): New constants. | |
1389 | (extended_remote_restart): Do not query for status. | |
1390 | (struct start_remote_args): New. | |
1391 | (remote_start_remote): Take it as a second argument. Check | |
1392 | whether the target is running. Issue an error for non-running | |
1393 | non-extended targets. Cache the wait status. Set inferior_ptid | |
1394 | here. | |
1395 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
1396 | sure the target is marked running. Do not set inferior_ptid here. | |
1397 | Update call to remote_start_remote. Do not call remote_check_symbols | |
1398 | if the target is not running. | |
1399 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
1400 | argument. Handle a non-running target. | |
1401 | (remote_detach): Use it. | |
1402 | (extended_remote_detach): New. | |
1403 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
1404 | (extended_remote_attach_1, extended_remote_attach) | |
1405 | (extended_async_remote_attach): New. | |
1406 | (remote_vcont_resume): Remove unused variable. | |
1407 | (remote_wait, remote_async_wait): Use any cached wait status. | |
1408 | (putpkt_binary, getpkt): Clear any cached wait status. | |
1409 | (extended_remoute_mourn_1): New. | |
1410 | (extended_remote_mourn): Use it. | |
1411 | (extended_async_remote_mourn, extended_remote_run): New. | |
1412 | (extended_remote_create_inferior_1): New. | |
1413 | (extended_remote_create_inferior): Use it. | |
1414 | (extended_remote_async_create_inferior): Likewise. | |
1415 | (remote_xfer_partial): Skip for non-executing targets. | |
1416 | (init_extended_remote_ops): Set to_detach and to_attach. | |
1417 | (init_extended_async_remote_ops): Likewise. Use | |
1418 | extended_async_remote_mourn. | |
1419 | (_initialize_remote): Register vAttach, vRun, and | |
1420 | set remote exec-file. | |
1421 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
1422 | ||
e85a822c DJ |
1423 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
1424 | ||
1425 | * Makefile.in (symfile.o): Update. | |
1426 | * NEWS: Mention exec tracing support. | |
1427 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
1428 | exec events. | |
1429 | * infcmd.c (kill_if_already_running, detach_command) | |
1430 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
1431 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
1432 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
1433 | targets. Apply the sysroot path to the loaded executable. Use | |
1434 | no_shared_libraries. | |
1435 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
1436 | messages if verbose. | |
1437 | (kill_wait_callback): Kill again before waiting a second time. | |
1438 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
1439 | no_shared_libraries. | |
1440 | ||
9db13498 JB |
1441 | 2008-01-29 Joel Brobecker <[email protected]> |
1442 | ||
1443 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
1444 | ||
b4d5ed91 JB |
1445 | 2008-01-29 Joel Brobecker <[email protected]> |
1446 | ||
1447 | * nto-tdep.h: Remove #include "defs.h". | |
1448 | * nto-tdep.c: Add #include "defs.h". | |
1449 | * Makefile.in (nto_tdep_h): Update dependencies. | |
1450 | (nto-tdep.o): Likewise. | |
1451 | ||
107313f7 | 1452 | 2008-01-29 Joel Brobecker <[email protected]> |
ae123ec6 JB |
1453 | |
1454 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
1455 | and use it. | |
1456 | (proceed, start_remote): Update call to wait_for_inferior. | |
1457 | * inferior.h (wait_for_inferior): Update declaration. | |
1458 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
1459 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
1460 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
1461 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
1462 | ||
3f4178d6 DJ |
1463 | 2008-01-29 Aleksandar Ristovski <[email protected]> |
1464 | ||
1465 | * varobj (adjust_value_for_child_access): Added checking for | |
1466 | returned value from gdb_value_ind. | |
1467 | (c_describe_child): Likewise. | |
1468 | (cplus_describe_child): Fixed a typo. | |
1469 | ||
5eeba8d4 JB |
1470 | 2008-01-29 Jim Blandy <[email protected]> |
1471 | ||
1472 | * MAINTAINERS: Update my info. | |
1473 | ||
a5606eee VP |
1474 | 2008-01-29 Vladimir Prus <[email protected]> |
1475 | ||
1476 | Use multiple locations for hardware watchpoints. | |
1477 | This eliminates the need to traverse value chain, doing | |
1478 | various checks, in three different places. | |
1479 | ||
1480 | * breakpoint.h (struct bp_location): New fields | |
1481 | lengths and watchpoint_type. | |
1482 | (struct breakpoint): Remove the val_chain field. | |
1483 | * breakpoint.c (is_hardware_watchpoint): New. | |
1484 | (free_valchain): Remove. | |
1485 | (update_watchpoint): New. | |
1486 | (insert_bp_location): For hardware watchpoint, just | |
1487 | directly insert it. | |
1488 | (insert_breakpoints): Call update_watchpoint_locations | |
1489 | on all watchpoints. If we have failed to insert | |
1490 | any location of a hardware watchpoint, remove all inserted | |
1491 | locations. | |
1492 | (remove_breakpoint): For hardware watchpoints, directly | |
1493 | remove location. | |
1494 | (watchpoints_triggered): Iterate over locations. | |
1495 | (bpstat_stop_status): Use only first location of | |
1496 | a resource watchpoint. | |
1497 | (delete_breakpoint): Don't call free_valchain. | |
1498 | (print_one_breakpoint): Don't print all | |
1499 | locations for watchpoints. | |
1500 | (breakpoint_re_set_one): Use update_watchpoint for | |
1501 | watchpoints. | |
1502 | ||
0b3de036 VP |
1503 | 2008-01-29 Vladimir Prus <[email protected]> |
1504 | ||
1505 | Don't reset watchpoint block on solib load. | |
1506 | ||
1507 | * breakpoint.c (insert_bp_location): For watchpoints, | |
1508 | recompute condition. | |
1509 | (breakpoint_re_set_one): Instead of recomputing value | |
1510 | and condition for watchpoints, just reset value and | |
1511 | let insert_breakpoints/insert_bp_location recompute it. | |
1512 | Don't do anything about disabled watchpoint. | |
1513 | ||
c3940723 PM |
1514 | 2008-01-29 Pierre Muller <[email protected]> |
1515 | ||
1516 | * valarith.c (value_binop): Handle unsigned integer | |
1517 | division by zero. | |
1518 | ||
83845630 KB |
1519 | 2008-01-28 Kevin Buettner <[email protected]> |
1520 | ||
1521 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
1522 | instruction pattern that appears frequently in position | |
1523 | independent code. Fix bug in code which looks for "fmov" and | |
1524 | backtracks if no "fmov" is found. | |
1525 | ||
9ce5d3bb DE |
1526 | 2008-01-28 Doug Evans <[email protected]> |
1527 | ||
1528 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
1529 | Reformat comments to 80 columns. |
1530 | Move local var def closer to only use. | |
9ce5d3bb | 1531 | |
c78d192c DJ |
1532 | 2008-01-28 Daniel Jacobowitz <[email protected]> |
1533 | ||
1534 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
1535 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
1536 | ||
e11481da PM |
1537 | 2008-01-25 Pierre Muller <[email protected]> |
1538 | ||
1539 | * i386-tdep.c (i386_skip_noop): New function. | |
1540 | (i386_analyze_prologue): Call i386_skip_noop function. | |
1541 | ||
244e85c8 MS |
1542 | 2008-01-24 Michael Snyder <[email protected]> |
1543 | ||
1544 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
1545 | * win32-nat.c (win32_xfer_partial): Ditto. | |
1546 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
1547 | ||
dd6be234 PA |
1548 | 2008-01-24 Pedro Alves <[email protected]> |
1549 | ||
1550 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
1551 | strip bit 1 even if pc doesn't point to thumb code. | |
1552 | ||
9fa2223d DJ |
1553 | 2008-01-23 Daniel Jacobowitz <[email protected]> |
1554 | ||
1555 | * remote.c (remote_wait): Handle SIGINT between packets. | |
1556 | (remote_async_wait): Likewise. | |
1557 | ||
93815fbf VP |
1558 | 2008-01-23 Vladimir Prus <[email protected]> |
1559 | Chris Demetriou <[email protected]> | |
1560 | ||
1561 | * thread.c (add_thread_silent): Renamed | |
1562 | from add_thread. | |
1563 | (print_thread_events): New variable definition. | |
1564 | (show_print_thread_events): New function. | |
1565 | (_initialize_thread): Add "set print thread-events" and | |
1566 | "show print thread-events" commands. | |
1567 | (add_thread): Announce new thread. | |
1568 | * gdbthread.h (add_thread_silent): Declare. | |
1569 | (print_thread_events): New variable declaration. | |
1570 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
1571 | inform about new thread, as add_thread is always | |
1572 | called too, and will take care of that. | |
1573 | * infrun.c (handle_inferior_event): Likewise. | |
1574 | * procfs.c (procfs_wait): Likewise. | |
1575 | * remote.c (remote_currthread): Likewise. | |
1576 | * sol-thread.c (sol_thread_wait): Likewise. | |
1577 | * win32-nat.c (get_win32_debug_event): Likewise. | |
1578 | * linux-thread-db.c (attach_thread): Likewise. | |
1579 | Remove the verbose parameter. | |
1580 | (check_event): Make detach_thread be verbose | |
1581 | only if print_thread_events is set. | |
1582 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
1583 | about new thread. This is called only from | |
1584 | linux-thread-db.c:attach_thread, which will take care. | |
1585 | Remove the verbose parameter. | |
1586 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
1587 | ||
b4d7c9a6 NR |
1588 | 2008-01-23 Nick Roberts <[email protected]> |
1589 | ||
1590 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
1591 | ||
60c46647 VP |
1592 | 2008-01-22 Vladimir Prus <[email protected]> |
1593 | ||
1594 | * breakpoint.c (break_command_really): New parameter | |
1595 | ignore_count. | |
1596 | (break_command_1): Pass 0 as | |
1597 | ignore_count to break_command_really. | |
1598 | (gdb_breakpoint): Pass ignore_count to | |
1599 | break_command_really. | |
1600 | ||
e84605cd KB |
1601 | 2008-01-21 Kevin Buettner <[email protected]> |
1602 | ||
1603 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
1604 | sigcontext struct via pointer. | |
1605 | (struct sigframe comment): Update to show new field `psc'. | |
1606 | ||
9d9cd7ac VP |
1607 | 2008-01-21 Vladimir Prus <[email protected]> |
1608 | ||
1609 | * infrun.c (handle_inferior_event): If | |
1610 | we failed to remove breakpoints, error, | |
1611 | don't try to increment PC by hand. | |
1612 | ||
af5ca30d NH |
1613 | 2008-01-18 Nick Hudson <[email protected]> |
1614 | ||
1615 | Add NetBSD/hppa target and host support. | |
1616 | ||
1617 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
1618 | (hppabsd_gregset): Move to ... | |
1619 | (hppabsd_regset_from_core_section): Rename | |
1620 | hppaobsd_regset_from_core_section and move to ... | |
1621 | (hppabsd_find_global_pointer): Update comment. | |
1622 | (hppabsd_init_abi): Make global. Do not register | |
1623 | hppabsd_regset_from_core_section. | |
1624 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
1625 | move to ... | |
1626 | (_initialize_hppabsd_tdep): Move to ... | |
1627 | * hppaobsd-tdep.c: ... here. New file. | |
1628 | * hppnbsd-tdep.c: New file. | |
1629 | * hppnbsd-nat.c: New file. | |
1630 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
1631 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
1632 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
1633 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
1634 | * configure.host (hppa*-*-netbsd*): New entry. | |
1635 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
1636 | (hppa*-*-openbsd*): Update. | |
1637 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
1638 | (New targets): Mention NetBSD/hppa. | |
1639 | ||
32c9a795 MD |
1640 | 2008-01-18 Markus Deuling <[email protected]> |
1641 | ||
1642 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
1643 | gdbarch structure. | |
1644 | * gdbarch.{c,h}: Regenerate. | |
1645 | ||
1646 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
1647 | gdbarch_bits_big_endian (comment). | |
1648 | (unpack_field_as_long, modify_field): Likewise. | |
1649 | * value.h: Likewise (comment). | |
1650 | * valops.c (value_slice): Likewise. | |
1651 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
1652 | * gdbtypes.h (field): Likewise (comment). | |
1653 | * eval.c (evaluate_subexp_standard): Likewise. | |
1654 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
1655 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
1656 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
1657 | ||
1658 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
1659 | ||
1e5e79d0 MD |
1660 | 2008-01-18 Markus Deuling <[email protected]> |
1661 | ||
1662 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
1663 | function calls. | |
1664 | * m2-exp.y (yylex): Likewise. | |
1665 | * objc-exp.y (yylex): Likewise. | |
1666 | ||
1667 | * defs.h (DEPRECATED_STREQN): Remove. | |
1668 | ||
fabda5a7 L |
1669 | 2008-01-17 H.J. Lu <[email protected]> |
1670 | ||
1671 | * MAINTAINERS: Update my email address. | |
1672 | ||
92726479 JB |
1673 | 2008-01-17 Jim Blandy <[email protected]> |
1674 | ||
1675 | * README: Mention gdbserver/README. | |
1676 | ||
ef80d18e PM |
1677 | 2008-01-17 Pierre Muller <[email protected]> |
1678 | ||
1679 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
1680 | for unsigned and signed integers. | |
1681 | ||
1de90795 UW |
1682 | 2008-01-17 Ulrich Weigand <[email protected]> |
1683 | ||
1684 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
1685 | type to 128-bit IEEE quad. | |
1686 | ||
c70bd6f3 JB |
1687 | 2008-01-17 Joel Brobecker <[email protected]> |
1688 | ||
1689 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
1690 | ||
ba759613 MK |
1691 | 2008-01-16 Mark Kettenis <[email protected]> |
1692 | ||
77d49ac6 MK |
1693 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
1694 | ||
ba759613 MK |
1695 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
1696 | * value.c: All callers changed. | |
1697 | ||
7ecb6532 MD |
1698 | 2008-01-16 Markus Deuling <[email protected]> |
1699 | ||
1700 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
1701 | DEPRECATED_STREQ by its expression. | |
1702 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
1703 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
1704 | (scan_xcoff_symtab): Likewise. | |
1705 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
1706 | * f-lang.c (find_common_for_function): Likewise. | |
1707 | * objc-exp.y (parse_number): Likewise. | |
1708 | ||
1709 | * defs.h (DEPRECATED_STREQ): Remove. | |
1710 | ||
d15cf01c MD |
1711 | 2008-01-16 Markus Deuling <[email protected]> |
1712 | ||
1713 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
1714 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
1715 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
1716 | call. | |
1717 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
1718 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
1719 | architecture. | |
1720 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
1721 | ||
f8028488 MD |
1722 | 2008-01-16 Markus Deuling <[email protected]> |
1723 | ||
1724 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
1725 | parameter. | |
1726 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
1727 | ||
1728 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
1729 | current_gdbarch by gdbarch. Update caller. | |
1730 | ||
1731 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
1732 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
1733 | the current architecture. Update calls of | |
1734 | amd64_native_gregset_supplies_p. | |
1735 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
1736 | (amd64bsd_store_inferior_registers): Likewise. | |
1737 | ||
e101270f MD |
1738 | 2008-01-16 Markus Deuling <[email protected]> |
1739 | ||
1740 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
1741 | Replace current_gdbarch by gdbarch. Update caller. | |
1742 | ||
063e58ba MD |
1743 | 2008-01-16 Markus Deuling <[email protected]> |
1744 | ||
1745 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
1746 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
1747 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
1748 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
1749 | (stabsect_build_psymtabs): Fix indentation. | |
1750 | ||
662fb31b MS |
1751 | 2008-01-15 Michael Snyder <[email protected]> |
1752 | ||
1753 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
1754 | ||
c1766e7d PM |
1755 | 2008-01-14 Pierre Muller <[email protected]> |
1756 | ||
1757 | * win32-nat.c (win32_create_inferior): Restore code calling | |
1758 | CloseHandle on ProcessInformation structure. | |
1759 | ||
5ed10e6e NH |
1760 | 2008-01-13 Nick Hudson <[email protected]> |
1761 | ||
1762 | * configure.ac: Check for void * as 3 argument of ptrace. | |
1763 | * configure: regenerate. | |
1764 | ||
be8626e0 MD |
1765 | 2008-01-11 Markus Deuling <[email protected]> |
1766 | ||
1767 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
1768 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
1769 | current_gdbarch by gdbarch. | |
1770 | ||
1771 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
1772 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
1773 | call. | |
1774 | ||
1775 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
1776 | get_frame_arch to get at the current architecture by frame_info. Update | |
1777 | alpha_sigtramp_register_address call. | |
1778 | ||
1779 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
1780 | current_gdbarch by gdbarch. Update caller. | |
1781 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
1782 | for comparison. Update caller. | |
1783 | (arm_extract_return_value, arm_store_return_value): Use | |
1784 | get_regcache_arch to get at the current architecture. | |
1785 | ||
1786 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
1787 | current_gdbarch by gdbarch. Update caller. | |
1788 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
1789 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
1790 | ||
1791 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
1792 | gdbarch as parameter. Update caller. | |
1793 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
1794 | current_gdbarch by gdbarch. Update caller. | |
1795 | ||
1796 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
1797 | update caller. Replace current_gdbarch by gdbarch. | |
1798 | ||
1799 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
1800 | the current architecture. Replace current_gdbarch by gdbarch. | |
1801 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
1802 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
1803 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
1804 | it. Update caller. | |
1805 | (M6811_TDEP): Remove. | |
1806 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
1807 | architecture. | |
1808 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
1809 | current_gdbarch by gdbarch. Update caller. | |
1810 | ||
1811 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
1812 | update caller. | |
1813 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
1814 | by gdbarch. | |
1815 | ||
1816 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
1817 | caller. Relace current_gdbarch by gdbarch. | |
1818 | (altivec_register_p, spe_register_p): Likewise. | |
1819 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
1820 | parameter. | |
1821 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
1822 | altivec_register_p and spe_register_p. | |
1823 | ||
1824 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
1825 | caller. Replace current_gdbarch by gdbarch. | |
1826 | (score_analyze_prologue): use get_frame_arch to get at the current | |
1827 | architecture. | |
1828 | ||
1829 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
1830 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
1831 | current_gdbarch by gdbarch. Update caller. | |
1832 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
1833 | architecture. | |
1834 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
1835 | sparc_analyze_prologue. | |
1836 | ||
1837 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
1838 | parameter. | |
1839 | ||
ed49a04f MD |
1840 | 2008-01-11 Markus Deuling <[email protected]> |
1841 | ||
1842 | * exec.c: #include "arch-utils.h" | |
1843 | (print_section_info): Use gdbarch_from_bfd to get at the | |
1844 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
1845 | deprecated_print_address_numeric by paddress. | |
1846 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
1847 | ||
1848 | * valprint.c (val_print_string): Replace | |
1849 | deprecated_print_address_numeric. | |
1850 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
1851 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
1852 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
1853 | (maintenance_check_symtabs): Likewise. | |
1854 | * symfile.c (list_overlays_command): Likewise. | |
1855 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
1856 | * printcmd.c (print_address, print_address_demangle) | |
1857 | (address_info): Likewise. | |
1858 | * corefile.c (memory_error): Likewise. | |
1859 | * infcmd.c (jump_command): Likewise. | |
1860 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
1861 | (mention, delete_breakpoint): Likewise. | |
1862 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
1863 | * dwarf2read.c (dump_die): Likewise. | |
1864 | * ada-valprint.c (ada_val_print_1): Likewise. | |
1865 | * f-valprint.c (f_val_print): Likewise. | |
1866 | * linux-fork.c (info_forks_command): Likewise. | |
1867 | * m32r-com.c (m32r_load_section, m32r_load) | |
1868 | (m32r_upload_command): Likewise. | |
1869 | ||
1870 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
1871 | ||
6093d2eb MD |
1872 | 2008-01-11 Markus Deuling <[email protected]> |
1873 | ||
1874 | * gdbarch.sh (skip_prologue): Add gdbarch | |
1875 | as parameter. | |
1876 | * gdbarch.{c,h}: Regenerate. | |
1877 | ||
1878 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
1879 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
1880 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
1881 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
1882 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
1883 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
1884 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
1885 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
1886 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
1887 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
1888 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
1889 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
1890 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
1891 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
1892 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
1893 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
1894 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
1895 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
1896 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
1897 | * score-tdep.c (score_skip_prologue): Likewise. | |
1898 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
1899 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
1900 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
1901 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
1902 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
1903 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
1904 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
1905 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
1906 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
1907 | ||
1908 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
1909 | current_gdbarch by gdbarch. | |
1910 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
1911 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
1912 | ||
72f5cf0e DE |
1913 | 2008-01-10 Doug Evans <[email protected]> |
1914 | ||
1915 | * defs.h (struct continuation_arg): Fix typo in comment. | |
1916 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
1917 | ||
689e4e2d TJB |
1918 | 2008-01-09 Thiago Jung Bauermann <[email protected]> |
1919 | ||
1920 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
1921 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
1922 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
1923 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
1924 | * c-exp.y (parse_number): Likewise. | |
1925 | * jv-exp.y (parse_number): Likewise. | |
1926 | * objc-exp.y (parse_number): Likewise. | |
1927 | * p-exp.y (parse_number): Likewise. | |
1928 | ||
ab0d6e0d JB |
1929 | 2008-01-09 Joel Brobecker <[email protected]> |
1930 | ||
1931 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
1932 | (check_typedef): Likewise. | |
1933 | ||
0aea4bf3 LM |
1934 | 2008-01-09 Luis Machado <[email protected]> |
1935 | ||
1936 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
1937 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
1938 | modifiers. | |
1939 | ||
137033e9 JB |
1940 | 2008-01-08 Joel Brobecker <[email protected]> |
1941 | ||
1942 | * dwarf2read.c (read_enumeration_type): Add comment. | |
1943 | ||
dda297ec TJB |
1944 | 2008-01-08 Thiago Jung Bauermann <[email protected]> |
1945 | ||
1946 | * config.in: Regenerate. | |
1947 | ||
a93c0eb6 JB |
1948 | 2008-01-08 Joel Brobecker <[email protected]> |
1949 | ||
1950 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
1951 | Make non-static. | |
1952 | (ada_convert_actuals): Delete. | |
1953 | * ada-lang.h (ada_convert_actual): Add declaration. | |
1954 | (ada_convert_actuals): Remove declaration. | |
1955 | * infcall.c: #include "ada-lang.h". | |
1956 | (value_arg_coerce): Add new parameter sp. Update function | |
1957 | documetnation. Add handling of Ada function call parameters. | |
1958 | * Makefile.in (infcall.o): Update dependencies. | |
1959 | ||
a84a8a0d JB |
1960 | 2008-01-08 Paul Hilfinger <[email protected]> |
1961 | ||
1962 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
1963 | (convert_actual): Add handling for arguments passed by reference. | |
1964 | ||
d7f98cce DE |
1965 | 2008-01-08 Doug Evans <[email protected]> |
1966 | ||
1967 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
1968 | ||
4ef30785 TJB |
1969 | 2008-01-07 Thiago Jung Bauermann <[email protected]> |
1970 | ||
1971 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
1972 | (valarith.o): Depend on dfp.h. | |
1973 | (valops.o): Likewise. | |
1974 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
1975 | (set_decnumber_context): New function. | |
1976 | (decimal_check_errors): Likewise. | |
1977 | (decimal_from_number): Likewise. | |
1978 | (decimal_to_number): Likewise. | |
1979 | (decimal_from_string): Use set_decnumber_context and | |
1980 | decimal_check_errors. | |
1981 | (decimal_from_integral): New function. | |
1982 | (decimal_from_floating): Likewise. | |
1983 | (decimal_to_double): Likewise. | |
1984 | (promote_decimal): Likewise. | |
1985 | (decimal_binop): Likewise. | |
1986 | (decimal_is_zero): Likewise. | |
1987 | (decimal_compare): Likewise. | |
1988 | (decimal_convert): Likewise. | |
1989 | * dfp.h (decimal_from_integral): New prototype. | |
1990 | (decimal_from_floating): Likewise. | |
1991 | (decimal_to_double): Likewise. | |
1992 | (decimal_binop): Likewise. | |
1993 | (decimal_is_zero): Likewise. | |
1994 | (decimal_compare): Likewise. | |
1995 | (decimal_convert): Likewise. | |
1996 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
1997 | call to value_from_decfloat. | |
1998 | * valarith.c: Include dfp.h. | |
1999 | (value_args_as_decimal): New function. | |
2000 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
2001 | (value_logical_not): Likewise. | |
2002 | (value_equal): Likewise. | |
2003 | (value_less): Likewise. | |
2004 | (value_pos): Likewise. | |
2005 | (value_neg): Formatting fix. | |
2006 | * valops.c: Include dfp.h. | |
2007 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
2008 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
2009 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
2010 | (value_from_decfloat): Remove expect_type argument. | |
2011 | * value.h (value_from_decfloat): Update prototype. | |
2012 | ||
a7c02bc8 VP |
2013 | 2008-01-07 Vladimir Prus <[email protected]> |
2014 | ||
2015 | Ignore change in name of dynamic linker during | |
2016 | execution on Solaris. This also unbreaks pending breakpoints. | |
2017 | ||
2018 | * solist.h (struct target_so_ops): New field same. | |
2019 | * solib-svr4.c (svr4_same): New. | |
2020 | (_initialize_svr4_solib): Register svr4_same. | |
2021 | * solib.c (update_solib_list): Use ops->same, if available. | |
2022 | ||
610dd7f9 CF |
2023 | 2008-01-06 Christopher Faylor <[email protected]> |
2024 | ||
2025 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
2026 | when using MS-DOS paths. | |
2027 | ||
7a404eba PA |
2028 | 2008-01-05 Pedro Alves <[email protected]> |
2029 | ||
2030 | * NEWS: Mention --pid and --core command line behaviour changes. | |
2031 | ||
a4d9b460 PA |
2032 | 2008-01-05 Pedro Alves <[email protected]> |
2033 | ||
2034 | * main.c (captured_main): Remove 'count' varible and the | |
2035 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
2036 | --pid options were issued simultaneously. If an explicit pid | |
2037 | option was passed, don't fallback to core file. Detect extra | |
2038 | arguments better in the presence of explicit pid or core | |
2039 | arguments. | |
2040 | ||
0c281816 JB |
2041 | 2008-01-05 Joel Brobecker <[email protected]> |
2042 | ||
2043 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
2044 | the value of the discriminant when the variant record is packed. | |
2045 | ||
babe1480 JB |
2046 | 2008-01-04 Joel Brobecker <[email protected]> |
2047 | ||
2048 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
2049 | that are used to differentiate homonyms. | |
2050 | ||
727e3d2e JB |
2051 | 2008-01-04 Jerome Guitton <[email protected]> |
2052 | ||
2053 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
2054 | when the type is an anonymous pointer type. | |
2055 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
2056 | * ada-typeprint.c (print_array_type): Add support for pointer | |
2057 | to packed arrays. | |
2058 | ||
bb28a9dc JB |
2059 | 2008-01-04 Paul N. Hilfinger <[email protected]> |
2060 | ||
2061 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
2062 | ||
6799def4 JB |
2063 | 2008-01-04 Joel Brobecker <[email protected]> |
2064 | ||
2065 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
2066 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
2067 | ||
d3353bbd JB |
2068 | 2008-01-04 Joel Brobecker <[email protected]> |
2069 | ||
2070 | * ada-exp.y (chop_separator): New function. | |
2071 | (write_selectors): Rewrite to re-use chop_separator. | |
2072 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
2073 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
2074 | expressions. | |
2075 | ||
82cf6c60 TJB |
2076 | 2008-01-03 Thiago Jung Bauermann <[email protected]> |
2077 | ||
2078 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
2079 | of SYMBOL_VALUE when working with function symbols. | |
2080 | ||
b3dbf008 JB |
2081 | 2008-01-03 Joel Brobecker <[email protected]> |
2082 | ||
2083 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
2084 | expressions. These expressions do not need to be rewriten. | |
2085 | ||
02eb380e JB |
2086 | 2008-01-03 Joel Brobecker <[email protected]> |
2087 | ||
2088 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
2089 | the given die is a declaration. | |
2090 | ||
abb68b3e JB |
2091 | 2008-01-03 Joel Brobecker <[email protected]> |
2092 | ||
2093 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
2094 | Handle properly the case when the index type is an enumerated type. | |
2095 | Do not return the subtype of the bounds type, just return the | |
2096 | bounds type directly - this is not needed and is more consistent | |
2097 | with what we do for arrays when no XA parallel type exists. | |
2098 | ||
f192137b JB |
2099 | 2008-01-03 Joel Brobecker <[email protected]> |
2100 | ||
2101 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
2102 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
2103 | also need to be unwrapped. Take this into account. | |
2104 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
2105 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
2106 | * ada-typeprint.c (ada_print_type): Get the typename from | |
2107 | the original type, not the base type. | |
2108 | ||
1ed6ede0 JB |
2109 | 2008-01-03 Jerome Guitton <[email protected]> |
2110 | ||
2111 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
2112 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
2113 | Update calls to ada_to_fixed_type. | |
2114 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
2115 | for the tag. | |
2116 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
2117 | tag if null. When looking for a tag, use a fixed record type. | |
2118 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
2119 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
2120 | calls to ada_to_fixed_type. | |
2121 | ||
542a88d0 LM |
2122 | 2008-01-03 Luis Machado <[email protected]> |
2123 | ||
2124 | * doublest.c (convert_floatformat_to_doublest): Call | |
2125 | floatformat_to_doublest instead of floatformat_to_double and use | |
2126 | DOUBLEST variables. | |
2127 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
2128 | instead of floatformat_from_double and use DOUBLEST variables. | |
2129 | ||
dc2bbab2 NH |
2130 | 2008-01-03 Nick Hudson <[email protected]> |
2131 | ||
2132 | * MAINTAINERS (Write After Approval): Add self. | |
2133 | ||
8b60591b JB |
2134 | 2008-01-03 Joel Brobecker <[email protected]> |
2135 | ||
2136 | * symfile.c (set_initial_language): Make non-static. | |
2137 | * symfile.h (set_initial_language): Add declaration. | |
2138 | * language.c: #include "symfile.h". | |
2139 | (set_language): Call set_initial_language if the frame language | |
2140 | could not be determined. | |
2141 | ||
ceef53c1 JB |
2142 | 2008-01-03 Paul N. Hilfinger <[email protected]> |
2143 | ||
2144 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
2145 | locate_var_value only if it will be needed. | |
2146 | ||
ef29ce1a JK |
2147 | 2008-01-02 Jan Kratochvil <[email protected]> |
2148 | ||
2149 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
2150 | ||
0a07e705 JB |
2151 | 2008-01-02 Joel Brobecker <[email protected]> |
2152 | ||
2153 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
2154 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
2155 | This is needed to make sure that any other treatment applied | |
2156 | to the resulting value does not fail for spurious reason, | |
2157 | such as trying to take the address of this value. | |
2158 | ||
f58b38bf JB |
2159 | 2008-01-02 Joel Brobecker <[email protected]> |
2160 | ||
2161 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
2162 | comparing arrays. | |
2163 | ||
9b254dd1 DJ |
2164 | 2008-01-01 Daniel Jacobowitz <[email protected]> |
2165 | ||
2166 | Updated copyright notices for most files. | |
2167 | ||
33605d39 CF |
2168 | 2008-01-01 Christopher Faylor <[email protected]> |
2169 | ||
2170 | * win32-nat.c (psapi_module_handle): Remove static. | |
2171 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
2172 | return first module found if base_address is zero. Don't initialize | |
2173 | psapi function pointers here. Convert to cygwin paths when | |
2174 | appropriate. | |
2175 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
2176 | executable name. Use get_module_name when that fails or when | |
2177 | !__CYGWIN__. | |
2178 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
2179 | needed or issue a warning if it is not found. Move psapi_module_handle | |
2180 | here. | |
2181 | ||
29480c32 JB |
2182 | 2008-01-01 Joel Brobecker <[email protected]> |
2183 | ||
2184 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
2185 | (ada_remove_po_subprogram_suffix): New function. | |
2186 | (ada_decode): Improve. Move the description of the algorithm | |
2187 | directly inside the code, instead of in the function global | |
2188 | description. | |
2189 | ||
969a1360 JB |
2190 | 2008-01-01 Joel Brobecker <[email protected]> |
2191 | ||
2192 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
2193 | and always print the dereferenced value. | |
2194 | ||
b7789565 JB |
2195 | 2008-01-01 Joel Brobecker <[email protected]> |
2196 | ||
2197 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
2198 | of the case where the first argument is a reference. | |
2199 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
2200 | ||
73fb9985 JB |
2201 | 2008-01-01 Joel Brobecker <[email protected]> |
2202 | ||
2203 | Implement support for Ada interface types. | |
2204 | ||
2205 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
2206 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
2207 | of a tagged type. | |
2208 | ||
636265b6 JB |
2209 | 2008-01-01 Joel Brobecker <[email protected]> |
2210 | ||
2211 | * top.c (print_gdb_version): Update copyright year. | |
2212 | ||
9d200a2e | 2213 | 2008-01-01 Joel Brobecker <[email protected]> |
b7589f7d | 2214 | |
9d200a2e JB |
2215 | * ChangeLog-2007: New ChangeLog rotation. |
2216 | * ChangeLog: Reset for 2008. | |
2217 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
2218 | ChangeLog-2007. | |
b7589f7d | 2219 | |
9d200a2e | 2220 | For older changes see ChangeLog-2007. |
c906108c SS |
2221 | \f |
2222 | Local Variables: | |
2223 | mode: change-log | |
2224 | left-margin: 8 | |
2225 | fill-column: 74 | |
2226 | version-control: never | |
57da7796 | 2227 | coding: utf-8 |
c906108c | 2228 | End: |