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