]>
Commit | Line | Data |
---|---|---|
1300a2f4 TJB |
1 | 2008-01-30 Thiago Jung Bauermann <[email protected]> |
2 | ||
3 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
4 | TYPE_CODE_DECFLOAT arguments. | |
5 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
6 | (get_decimal_float_return_value): New function. | |
7 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
8 | values by calling get_decimal_float_return_value. | |
9 | (ppc64_sysv_abi_return_value): Likewise. | |
10 | ||
95ef687d NR |
11 | 2008-01-30 Nick Roberts <[email protected]> |
12 | ||
13 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
14 | for preprocessor macro information. Formatting changes. | |
15 | ||
2d717e4f DJ |
16 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
17 | ||
18 | * remote.c (struct remote_state): Add cached_wait_status. | |
19 | (remote_exec_file): New variable. | |
20 | (PACKET_vAttach, PACKET_vRun): New constants. | |
21 | (extended_remote_restart): Do not query for status. | |
22 | (struct start_remote_args): New. | |
23 | (remote_start_remote): Take it as a second argument. Check | |
24 | whether the target is running. Issue an error for non-running | |
25 | non-extended targets. Cache the wait status. Set inferior_ptid | |
26 | here. | |
27 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
28 | sure the target is marked running. Do not set inferior_ptid here. | |
29 | Update call to remote_start_remote. Do not call remote_check_symbols | |
30 | if the target is not running. | |
31 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
32 | argument. Handle a non-running target. | |
33 | (remote_detach): Use it. | |
34 | (extended_remote_detach): New. | |
35 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
36 | (extended_remote_attach_1, extended_remote_attach) | |
37 | (extended_async_remote_attach): New. | |
38 | (remote_vcont_resume): Remove unused variable. | |
39 | (remote_wait, remote_async_wait): Use any cached wait status. | |
40 | (putpkt_binary, getpkt): Clear any cached wait status. | |
41 | (extended_remoute_mourn_1): New. | |
42 | (extended_remote_mourn): Use it. | |
43 | (extended_async_remote_mourn, extended_remote_run): New. | |
44 | (extended_remote_create_inferior_1): New. | |
45 | (extended_remote_create_inferior): Use it. | |
46 | (extended_remote_async_create_inferior): Likewise. | |
47 | (remote_xfer_partial): Skip for non-executing targets. | |
48 | (init_extended_remote_ops): Set to_detach and to_attach. | |
49 | (init_extended_async_remote_ops): Likewise. Use | |
50 | extended_async_remote_mourn. | |
51 | (_initialize_remote): Register vAttach, vRun, and | |
52 | set remote exec-file. | |
53 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
54 | ||
e85a822c DJ |
55 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
56 | ||
57 | * Makefile.in (symfile.o): Update. | |
58 | * NEWS: Mention exec tracing support. | |
59 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
60 | exec events. | |
61 | * infcmd.c (kill_if_already_running, detach_command) | |
62 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
63 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
64 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
65 | targets. Apply the sysroot path to the loaded executable. Use | |
66 | no_shared_libraries. | |
67 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
68 | messages if verbose. | |
69 | (kill_wait_callback): Kill again before waiting a second time. | |
70 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
71 | no_shared_libraries. | |
72 | ||
9db13498 JB |
73 | 2008-01-29 Joel Brobecker <[email protected]> |
74 | ||
75 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
76 | ||
b4d5ed91 JB |
77 | 2008-01-29 Joel Brobecker <[email protected]> |
78 | ||
79 | * nto-tdep.h: Remove #include "defs.h". | |
80 | * nto-tdep.c: Add #include "defs.h". | |
81 | * Makefile.in (nto_tdep_h): Update dependencies. | |
82 | (nto-tdep.o): Likewise. | |
83 | ||
107313f7 | 84 | 2008-01-29 Joel Brobecker <[email protected]> |
ae123ec6 JB |
85 | |
86 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
87 | and use it. | |
88 | (proceed, start_remote): Update call to wait_for_inferior. | |
89 | * inferior.h (wait_for_inferior): Update declaration. | |
90 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
91 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
92 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
93 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
94 | ||
3f4178d6 DJ |
95 | 2008-01-29 Aleksandar Ristovski <[email protected]> |
96 | ||
97 | * varobj (adjust_value_for_child_access): Added checking for | |
98 | returned value from gdb_value_ind. | |
99 | (c_describe_child): Likewise. | |
100 | (cplus_describe_child): Fixed a typo. | |
101 | ||
5eeba8d4 JB |
102 | 2008-01-29 Jim Blandy <[email protected]> |
103 | ||
104 | * MAINTAINERS: Update my info. | |
105 | ||
a5606eee VP |
106 | 2008-01-29 Vladimir Prus <[email protected]> |
107 | ||
108 | Use multiple locations for hardware watchpoints. | |
109 | This eliminates the need to traverse value chain, doing | |
110 | various checks, in three different places. | |
111 | ||
112 | * breakpoint.h (struct bp_location): New fields | |
113 | lengths and watchpoint_type. | |
114 | (struct breakpoint): Remove the val_chain field. | |
115 | * breakpoint.c (is_hardware_watchpoint): New. | |
116 | (free_valchain): Remove. | |
117 | (update_watchpoint): New. | |
118 | (insert_bp_location): For hardware watchpoint, just | |
119 | directly insert it. | |
120 | (insert_breakpoints): Call update_watchpoint_locations | |
121 | on all watchpoints. If we have failed to insert | |
122 | any location of a hardware watchpoint, remove all inserted | |
123 | locations. | |
124 | (remove_breakpoint): For hardware watchpoints, directly | |
125 | remove location. | |
126 | (watchpoints_triggered): Iterate over locations. | |
127 | (bpstat_stop_status): Use only first location of | |
128 | a resource watchpoint. | |
129 | (delete_breakpoint): Don't call free_valchain. | |
130 | (print_one_breakpoint): Don't print all | |
131 | locations for watchpoints. | |
132 | (breakpoint_re_set_one): Use update_watchpoint for | |
133 | watchpoints. | |
134 | ||
0b3de036 VP |
135 | 2008-01-29 Vladimir Prus <[email protected]> |
136 | ||
137 | Don't reset watchpoint block on solib load. | |
138 | ||
139 | * breakpoint.c (insert_bp_location): For watchpoints, | |
140 | recompute condition. | |
141 | (breakpoint_re_set_one): Instead of recomputing value | |
142 | and condition for watchpoints, just reset value and | |
143 | let insert_breakpoints/insert_bp_location recompute it. | |
144 | Don't do anything about disabled watchpoint. | |
145 | ||
c3940723 PM |
146 | 2008-01-29 Pierre Muller <[email protected]> |
147 | ||
148 | * valarith.c (value_binop): Handle unsigned integer | |
149 | division by zero. | |
150 | ||
83845630 KB |
151 | 2008-01-28 Kevin Buettner <[email protected]> |
152 | ||
153 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
154 | instruction pattern that appears frequently in position | |
155 | independent code. Fix bug in code which looks for "fmov" and | |
156 | backtracks if no "fmov" is found. | |
157 | ||
9ce5d3bb DE |
158 | 2008-01-28 Doug Evans <[email protected]> |
159 | ||
160 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
161 | Reformat comments to 80 columns. |
162 | Move local var def closer to only use. | |
9ce5d3bb | 163 | |
c78d192c DJ |
164 | 2008-01-28 Daniel Jacobowitz <[email protected]> |
165 | ||
166 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
167 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
168 | ||
e11481da PM |
169 | 2008-01-25 Pierre Muller <[email protected]> |
170 | ||
171 | * i386-tdep.c (i386_skip_noop): New function. | |
172 | (i386_analyze_prologue): Call i386_skip_noop function. | |
173 | ||
244e85c8 MS |
174 | 2008-01-24 Michael Snyder <[email protected]> |
175 | ||
176 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
177 | * win32-nat.c (win32_xfer_partial): Ditto. | |
178 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
179 | ||
dd6be234 PA |
180 | 2008-01-24 Pedro Alves <[email protected]> |
181 | ||
182 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
183 | strip bit 1 even if pc doesn't point to thumb code. | |
184 | ||
9fa2223d DJ |
185 | 2008-01-23 Daniel Jacobowitz <[email protected]> |
186 | ||
187 | * remote.c (remote_wait): Handle SIGINT between packets. | |
188 | (remote_async_wait): Likewise. | |
189 | ||
93815fbf VP |
190 | 2008-01-23 Vladimir Prus <[email protected]> |
191 | Chris Demetriou <[email protected]> | |
192 | ||
193 | * thread.c (add_thread_silent): Renamed | |
194 | from add_thread. | |
195 | (print_thread_events): New variable definition. | |
196 | (show_print_thread_events): New function. | |
197 | (_initialize_thread): Add "set print thread-events" and | |
198 | "show print thread-events" commands. | |
199 | (add_thread): Announce new thread. | |
200 | * gdbthread.h (add_thread_silent): Declare. | |
201 | (print_thread_events): New variable declaration. | |
202 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
203 | inform about new thread, as add_thread is always | |
204 | called too, and will take care of that. | |
205 | * infrun.c (handle_inferior_event): Likewise. | |
206 | * procfs.c (procfs_wait): Likewise. | |
207 | * remote.c (remote_currthread): Likewise. | |
208 | * sol-thread.c (sol_thread_wait): Likewise. | |
209 | * win32-nat.c (get_win32_debug_event): Likewise. | |
210 | * linux-thread-db.c (attach_thread): Likewise. | |
211 | Remove the verbose parameter. | |
212 | (check_event): Make detach_thread be verbose | |
213 | only if print_thread_events is set. | |
214 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
215 | about new thread. This is called only from | |
216 | linux-thread-db.c:attach_thread, which will take care. | |
217 | Remove the verbose parameter. | |
218 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
219 | ||
b4d7c9a6 NR |
220 | 2008-01-23 Nick Roberts <[email protected]> |
221 | ||
222 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
223 | ||
60c46647 VP |
224 | 2008-01-22 Vladimir Prus <[email protected]> |
225 | ||
226 | * breakpoint.c (break_command_really): New parameter | |
227 | ignore_count. | |
228 | (break_command_1): Pass 0 as | |
229 | ignore_count to break_command_really. | |
230 | (gdb_breakpoint): Pass ignore_count to | |
231 | break_command_really. | |
232 | ||
e84605cd KB |
233 | 2008-01-21 Kevin Buettner <[email protected]> |
234 | ||
235 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
236 | sigcontext struct via pointer. | |
237 | (struct sigframe comment): Update to show new field `psc'. | |
238 | ||
9d9cd7ac VP |
239 | 2008-01-21 Vladimir Prus <[email protected]> |
240 | ||
241 | * infrun.c (handle_inferior_event): If | |
242 | we failed to remove breakpoints, error, | |
243 | don't try to increment PC by hand. | |
244 | ||
af5ca30d NH |
245 | 2008-01-18 Nick Hudson <[email protected]> |
246 | ||
247 | Add NetBSD/hppa target and host support. | |
248 | ||
249 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
250 | (hppabsd_gregset): Move to ... | |
251 | (hppabsd_regset_from_core_section): Rename | |
252 | hppaobsd_regset_from_core_section and move to ... | |
253 | (hppabsd_find_global_pointer): Update comment. | |
254 | (hppabsd_init_abi): Make global. Do not register | |
255 | hppabsd_regset_from_core_section. | |
256 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
257 | move to ... | |
258 | (_initialize_hppabsd_tdep): Move to ... | |
259 | * hppaobsd-tdep.c: ... here. New file. | |
260 | * hppnbsd-tdep.c: New file. | |
261 | * hppnbsd-nat.c: New file. | |
262 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
263 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
264 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
265 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
266 | * configure.host (hppa*-*-netbsd*): New entry. | |
267 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
268 | (hppa*-*-openbsd*): Update. | |
269 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
270 | (New targets): Mention NetBSD/hppa. | |
271 | ||
32c9a795 MD |
272 | 2008-01-18 Markus Deuling <[email protected]> |
273 | ||
274 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
275 | gdbarch structure. | |
276 | * gdbarch.{c,h}: Regenerate. | |
277 | ||
278 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
279 | gdbarch_bits_big_endian (comment). | |
280 | (unpack_field_as_long, modify_field): Likewise. | |
281 | * value.h: Likewise (comment). | |
282 | * valops.c (value_slice): Likewise. | |
283 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
284 | * gdbtypes.h (field): Likewise (comment). | |
285 | * eval.c (evaluate_subexp_standard): Likewise. | |
286 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
287 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
288 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
289 | ||
290 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
291 | ||
1e5e79d0 MD |
292 | 2008-01-18 Markus Deuling <[email protected]> |
293 | ||
294 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
295 | function calls. | |
296 | * m2-exp.y (yylex): Likewise. | |
297 | * objc-exp.y (yylex): Likewise. | |
298 | ||
299 | * defs.h (DEPRECATED_STREQN): Remove. | |
300 | ||
fabda5a7 L |
301 | 2008-01-17 H.J. Lu <[email protected]> |
302 | ||
303 | * MAINTAINERS: Update my email address. | |
304 | ||
92726479 JB |
305 | 2008-01-17 Jim Blandy <[email protected]> |
306 | ||
307 | * README: Mention gdbserver/README. | |
308 | ||
ef80d18e PM |
309 | 2008-01-17 Pierre Muller <[email protected]> |
310 | ||
311 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
312 | for unsigned and signed integers. | |
313 | ||
1de90795 UW |
314 | 2008-01-17 Ulrich Weigand <[email protected]> |
315 | ||
316 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
317 | type to 128-bit IEEE quad. | |
318 | ||
c70bd6f3 JB |
319 | 2008-01-17 Joel Brobecker <[email protected]> |
320 | ||
321 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
322 | ||
ba759613 MK |
323 | 2008-01-16 Mark Kettenis <[email protected]> |
324 | ||
77d49ac6 MK |
325 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
326 | ||
ba759613 MK |
327 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
328 | * value.c: All callers changed. | |
329 | ||
7ecb6532 MD |
330 | 2008-01-16 Markus Deuling <[email protected]> |
331 | ||
332 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
333 | DEPRECATED_STREQ by its expression. | |
334 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
335 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
336 | (scan_xcoff_symtab): Likewise. | |
337 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
338 | * f-lang.c (find_common_for_function): Likewise. | |
339 | * objc-exp.y (parse_number): Likewise. | |
340 | ||
341 | * defs.h (DEPRECATED_STREQ): Remove. | |
342 | ||
d15cf01c MD |
343 | 2008-01-16 Markus Deuling <[email protected]> |
344 | ||
345 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
346 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
347 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
348 | call. | |
349 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
350 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
351 | architecture. | |
352 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
353 | ||
f8028488 MD |
354 | 2008-01-16 Markus Deuling <[email protected]> |
355 | ||
356 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
357 | parameter. | |
358 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
359 | ||
360 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
361 | current_gdbarch by gdbarch. Update caller. | |
362 | ||
363 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
364 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
365 | the current architecture. Update calls of | |
366 | amd64_native_gregset_supplies_p. | |
367 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
368 | (amd64bsd_store_inferior_registers): Likewise. | |
369 | ||
e101270f MD |
370 | 2008-01-16 Markus Deuling <[email protected]> |
371 | ||
372 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
373 | Replace current_gdbarch by gdbarch. Update caller. | |
374 | ||
063e58ba MD |
375 | 2008-01-16 Markus Deuling <[email protected]> |
376 | ||
377 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
378 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
379 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
380 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
381 | (stabsect_build_psymtabs): Fix indentation. | |
382 | ||
662fb31b MS |
383 | 2008-01-15 Michael Snyder <[email protected]> |
384 | ||
385 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
386 | ||
c1766e7d PM |
387 | 2008-01-14 Pierre Muller <[email protected]> |
388 | ||
389 | * win32-nat.c (win32_create_inferior): Restore code calling | |
390 | CloseHandle on ProcessInformation structure. | |
391 | ||
5ed10e6e NH |
392 | 2008-01-13 Nick Hudson <[email protected]> |
393 | ||
394 | * configure.ac: Check for void * as 3 argument of ptrace. | |
395 | * configure: regenerate. | |
396 | ||
be8626e0 MD |
397 | 2008-01-11 Markus Deuling <[email protected]> |
398 | ||
399 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
400 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
401 | current_gdbarch by gdbarch. | |
402 | ||
403 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
404 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
405 | call. | |
406 | ||
407 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
408 | get_frame_arch to get at the current architecture by frame_info. Update | |
409 | alpha_sigtramp_register_address call. | |
410 | ||
411 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
412 | current_gdbarch by gdbarch. Update caller. | |
413 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
414 | for comparison. Update caller. | |
415 | (arm_extract_return_value, arm_store_return_value): Use | |
416 | get_regcache_arch to get at the current architecture. | |
417 | ||
418 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
419 | current_gdbarch by gdbarch. Update caller. | |
420 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
421 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
422 | ||
423 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
424 | gdbarch as parameter. Update caller. | |
425 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
426 | current_gdbarch by gdbarch. Update caller. | |
427 | ||
428 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
429 | update caller. Replace current_gdbarch by gdbarch. | |
430 | ||
431 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
432 | the current architecture. Replace current_gdbarch by gdbarch. | |
433 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
434 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
435 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
436 | it. Update caller. | |
437 | (M6811_TDEP): Remove. | |
438 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
439 | architecture. | |
440 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
441 | current_gdbarch by gdbarch. Update caller. | |
442 | ||
443 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
444 | update caller. | |
445 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
446 | by gdbarch. | |
447 | ||
448 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
449 | caller. Relace current_gdbarch by gdbarch. | |
450 | (altivec_register_p, spe_register_p): Likewise. | |
451 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
452 | parameter. | |
453 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
454 | altivec_register_p and spe_register_p. | |
455 | ||
456 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
457 | caller. Replace current_gdbarch by gdbarch. | |
458 | (score_analyze_prologue): use get_frame_arch to get at the current | |
459 | architecture. | |
460 | ||
461 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
462 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
463 | current_gdbarch by gdbarch. Update caller. | |
464 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
465 | architecture. | |
466 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
467 | sparc_analyze_prologue. | |
468 | ||
469 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
470 | parameter. | |
471 | ||
ed49a04f MD |
472 | 2008-01-11 Markus Deuling <[email protected]> |
473 | ||
474 | * exec.c: #include "arch-utils.h" | |
475 | (print_section_info): Use gdbarch_from_bfd to get at the | |
476 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
477 | deprecated_print_address_numeric by paddress. | |
478 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
479 | ||
480 | * valprint.c (val_print_string): Replace | |
481 | deprecated_print_address_numeric. | |
482 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
483 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
484 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
485 | (maintenance_check_symtabs): Likewise. | |
486 | * symfile.c (list_overlays_command): Likewise. | |
487 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
488 | * printcmd.c (print_address, print_address_demangle) | |
489 | (address_info): Likewise. | |
490 | * corefile.c (memory_error): Likewise. | |
491 | * infcmd.c (jump_command): Likewise. | |
492 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
493 | (mention, delete_breakpoint): Likewise. | |
494 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
495 | * dwarf2read.c (dump_die): Likewise. | |
496 | * ada-valprint.c (ada_val_print_1): Likewise. | |
497 | * f-valprint.c (f_val_print): Likewise. | |
498 | * linux-fork.c (info_forks_command): Likewise. | |
499 | * m32r-com.c (m32r_load_section, m32r_load) | |
500 | (m32r_upload_command): Likewise. | |
501 | ||
502 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
503 | ||
6093d2eb MD |
504 | 2008-01-11 Markus Deuling <[email protected]> |
505 | ||
506 | * gdbarch.sh (skip_prologue): Add gdbarch | |
507 | as parameter. | |
508 | * gdbarch.{c,h}: Regenerate. | |
509 | ||
510 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
511 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
512 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
513 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
514 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
515 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
516 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
517 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
518 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
519 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
520 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
521 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
522 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
523 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
524 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
525 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
526 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
527 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
528 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
529 | * score-tdep.c (score_skip_prologue): Likewise. | |
530 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
531 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
532 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
533 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
534 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
535 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
536 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
537 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
538 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
539 | ||
540 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
541 | current_gdbarch by gdbarch. | |
542 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
543 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
544 | ||
72f5cf0e DE |
545 | 2008-01-10 Doug Evans <[email protected]> |
546 | ||
547 | * defs.h (struct continuation_arg): Fix typo in comment. | |
548 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
549 | ||
689e4e2d TJB |
550 | 2008-01-09 Thiago Jung Bauermann <[email protected]> |
551 | ||
552 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
553 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
554 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
555 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
556 | * c-exp.y (parse_number): Likewise. | |
557 | * jv-exp.y (parse_number): Likewise. | |
558 | * objc-exp.y (parse_number): Likewise. | |
559 | * p-exp.y (parse_number): Likewise. | |
560 | ||
ab0d6e0d JB |
561 | 2008-01-09 Joel Brobecker <[email protected]> |
562 | ||
563 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
564 | (check_typedef): Likewise. | |
565 | ||
0aea4bf3 LM |
566 | 2008-01-09 Luis Machado <[email protected]> |
567 | ||
568 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
569 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
570 | modifiers. | |
571 | ||
137033e9 JB |
572 | 2008-01-08 Joel Brobecker <[email protected]> |
573 | ||
574 | * dwarf2read.c (read_enumeration_type): Add comment. | |
575 | ||
dda297ec TJB |
576 | 2008-01-08 Thiago Jung Bauermann <[email protected]> |
577 | ||
578 | * config.in: Regenerate. | |
579 | ||
a93c0eb6 JB |
580 | 2008-01-08 Joel Brobecker <[email protected]> |
581 | ||
582 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
583 | Make non-static. | |
584 | (ada_convert_actuals): Delete. | |
585 | * ada-lang.h (ada_convert_actual): Add declaration. | |
586 | (ada_convert_actuals): Remove declaration. | |
587 | * infcall.c: #include "ada-lang.h". | |
588 | (value_arg_coerce): Add new parameter sp. Update function | |
589 | documetnation. Add handling of Ada function call parameters. | |
590 | * Makefile.in (infcall.o): Update dependencies. | |
591 | ||
a84a8a0d JB |
592 | 2008-01-08 Paul Hilfinger <[email protected]> |
593 | ||
594 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
595 | (convert_actual): Add handling for arguments passed by reference. | |
596 | ||
d7f98cce DE |
597 | 2008-01-08 Doug Evans <[email protected]> |
598 | ||
599 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
600 | ||
4ef30785 TJB |
601 | 2008-01-07 Thiago Jung Bauermann <[email protected]> |
602 | ||
603 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
604 | (valarith.o): Depend on dfp.h. | |
605 | (valops.o): Likewise. | |
606 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
607 | (set_decnumber_context): New function. | |
608 | (decimal_check_errors): Likewise. | |
609 | (decimal_from_number): Likewise. | |
610 | (decimal_to_number): Likewise. | |
611 | (decimal_from_string): Use set_decnumber_context and | |
612 | decimal_check_errors. | |
613 | (decimal_from_integral): New function. | |
614 | (decimal_from_floating): Likewise. | |
615 | (decimal_to_double): Likewise. | |
616 | (promote_decimal): Likewise. | |
617 | (decimal_binop): Likewise. | |
618 | (decimal_is_zero): Likewise. | |
619 | (decimal_compare): Likewise. | |
620 | (decimal_convert): Likewise. | |
621 | * dfp.h (decimal_from_integral): New prototype. | |
622 | (decimal_from_floating): Likewise. | |
623 | (decimal_to_double): Likewise. | |
624 | (decimal_binop): Likewise. | |
625 | (decimal_is_zero): Likewise. | |
626 | (decimal_compare): Likewise. | |
627 | (decimal_convert): Likewise. | |
628 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
629 | call to value_from_decfloat. | |
630 | * valarith.c: Include dfp.h. | |
631 | (value_args_as_decimal): New function. | |
632 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
633 | (value_logical_not): Likewise. | |
634 | (value_equal): Likewise. | |
635 | (value_less): Likewise. | |
636 | (value_pos): Likewise. | |
637 | (value_neg): Formatting fix. | |
638 | * valops.c: Include dfp.h. | |
639 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
640 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
641 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
642 | (value_from_decfloat): Remove expect_type argument. | |
643 | * value.h (value_from_decfloat): Update prototype. | |
644 | ||
a7c02bc8 VP |
645 | 2008-01-07 Vladimir Prus <[email protected]> |
646 | ||
647 | Ignore change in name of dynamic linker during | |
648 | execution on Solaris. This also unbreaks pending breakpoints. | |
649 | ||
650 | * solist.h (struct target_so_ops): New field same. | |
651 | * solib-svr4.c (svr4_same): New. | |
652 | (_initialize_svr4_solib): Register svr4_same. | |
653 | * solib.c (update_solib_list): Use ops->same, if available. | |
654 | ||
610dd7f9 CF |
655 | 2008-01-06 Christopher Faylor <[email protected]> |
656 | ||
657 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
658 | when using MS-DOS paths. | |
659 | ||
7a404eba PA |
660 | 2008-01-05 Pedro Alves <[email protected]> |
661 | ||
662 | * NEWS: Mention --pid and --core command line behaviour changes. | |
663 | ||
a4d9b460 PA |
664 | 2008-01-05 Pedro Alves <[email protected]> |
665 | ||
666 | * main.c (captured_main): Remove 'count' varible and the | |
667 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
668 | --pid options were issued simultaneously. If an explicit pid | |
669 | option was passed, don't fallback to core file. Detect extra | |
670 | arguments better in the presence of explicit pid or core | |
671 | arguments. | |
672 | ||
0c281816 JB |
673 | 2008-01-05 Joel Brobecker <[email protected]> |
674 | ||
675 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
676 | the value of the discriminant when the variant record is packed. | |
677 | ||
babe1480 JB |
678 | 2008-01-04 Joel Brobecker <[email protected]> |
679 | ||
680 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
681 | that are used to differentiate homonyms. | |
682 | ||
727e3d2e JB |
683 | 2008-01-04 Jerome Guitton <[email protected]> |
684 | ||
685 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
686 | when the type is an anonymous pointer type. | |
687 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
688 | * ada-typeprint.c (print_array_type): Add support for pointer | |
689 | to packed arrays. | |
690 | ||
bb28a9dc JB |
691 | 2008-01-04 Paul N. Hilfinger <[email protected]> |
692 | ||
693 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
694 | ||
6799def4 JB |
695 | 2008-01-04 Joel Brobecker <[email protected]> |
696 | ||
697 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
698 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
699 | ||
d3353bbd JB |
700 | 2008-01-04 Joel Brobecker <[email protected]> |
701 | ||
702 | * ada-exp.y (chop_separator): New function. | |
703 | (write_selectors): Rewrite to re-use chop_separator. | |
704 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
705 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
706 | expressions. | |
707 | ||
82cf6c60 TJB |
708 | 2008-01-03 Thiago Jung Bauermann <[email protected]> |
709 | ||
710 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
711 | of SYMBOL_VALUE when working with function symbols. | |
712 | ||
b3dbf008 JB |
713 | 2008-01-03 Joel Brobecker <[email protected]> |
714 | ||
715 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
716 | expressions. These expressions do not need to be rewriten. | |
717 | ||
02eb380e JB |
718 | 2008-01-03 Joel Brobecker <[email protected]> |
719 | ||
720 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
721 | the given die is a declaration. | |
722 | ||
abb68b3e JB |
723 | 2008-01-03 Joel Brobecker <[email protected]> |
724 | ||
725 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
726 | Handle properly the case when the index type is an enumerated type. | |
727 | Do not return the subtype of the bounds type, just return the | |
728 | bounds type directly - this is not needed and is more consistent | |
729 | with what we do for arrays when no XA parallel type exists. | |
730 | ||
f192137b JB |
731 | 2008-01-03 Joel Brobecker <[email protected]> |
732 | ||
733 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
734 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
735 | also need to be unwrapped. Take this into account. | |
736 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
737 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
738 | * ada-typeprint.c (ada_print_type): Get the typename from | |
739 | the original type, not the base type. | |
740 | ||
1ed6ede0 JB |
741 | 2008-01-03 Jerome Guitton <[email protected]> |
742 | ||
743 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
744 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
745 | Update calls to ada_to_fixed_type. | |
746 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
747 | for the tag. | |
748 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
749 | tag if null. When looking for a tag, use a fixed record type. | |
750 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
751 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
752 | calls to ada_to_fixed_type. | |
753 | ||
542a88d0 LM |
754 | 2008-01-03 Luis Machado <[email protected]> |
755 | ||
756 | * doublest.c (convert_floatformat_to_doublest): Call | |
757 | floatformat_to_doublest instead of floatformat_to_double and use | |
758 | DOUBLEST variables. | |
759 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
760 | instead of floatformat_from_double and use DOUBLEST variables. | |
761 | ||
dc2bbab2 NH |
762 | 2008-01-03 Nick Hudson <[email protected]> |
763 | ||
764 | * MAINTAINERS (Write After Approval): Add self. | |
765 | ||
8b60591b JB |
766 | 2008-01-03 Joel Brobecker <[email protected]> |
767 | ||
768 | * symfile.c (set_initial_language): Make non-static. | |
769 | * symfile.h (set_initial_language): Add declaration. | |
770 | * language.c: #include "symfile.h". | |
771 | (set_language): Call set_initial_language if the frame language | |
772 | could not be determined. | |
773 | ||
ceef53c1 JB |
774 | 2008-01-03 Paul N. Hilfinger <[email protected]> |
775 | ||
776 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
777 | locate_var_value only if it will be needed. | |
778 | ||
ef29ce1a JK |
779 | 2008-01-02 Jan Kratochvil <[email protected]> |
780 | ||
781 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
782 | ||
0a07e705 JB |
783 | 2008-01-02 Joel Brobecker <[email protected]> |
784 | ||
785 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
786 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
787 | This is needed to make sure that any other treatment applied | |
788 | to the resulting value does not fail for spurious reason, | |
789 | such as trying to take the address of this value. | |
790 | ||
f58b38bf JB |
791 | 2008-01-02 Joel Brobecker <[email protected]> |
792 | ||
793 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
794 | comparing arrays. | |
795 | ||
9b254dd1 DJ |
796 | 2008-01-01 Daniel Jacobowitz <[email protected]> |
797 | ||
798 | Updated copyright notices for most files. | |
799 | ||
33605d39 CF |
800 | 2008-01-01 Christopher Faylor <[email protected]> |
801 | ||
802 | * win32-nat.c (psapi_module_handle): Remove static. | |
803 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
804 | return first module found if base_address is zero. Don't initialize | |
805 | psapi function pointers here. Convert to cygwin paths when | |
806 | appropriate. | |
807 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
808 | executable name. Use get_module_name when that fails or when | |
809 | !__CYGWIN__. | |
810 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
811 | needed or issue a warning if it is not found. Move psapi_module_handle | |
812 | here. | |
813 | ||
29480c32 JB |
814 | 2008-01-01 Joel Brobecker <[email protected]> |
815 | ||
816 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
817 | (ada_remove_po_subprogram_suffix): New function. | |
818 | (ada_decode): Improve. Move the description of the algorithm | |
819 | directly inside the code, instead of in the function global | |
820 | description. | |
821 | ||
969a1360 JB |
822 | 2008-01-01 Joel Brobecker <[email protected]> |
823 | ||
824 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
825 | and always print the dereferenced value. | |
826 | ||
b7789565 JB |
827 | 2008-01-01 Joel Brobecker <[email protected]> |
828 | ||
829 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
830 | of the case where the first argument is a reference. | |
831 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
832 | ||
73fb9985 JB |
833 | 2008-01-01 Joel Brobecker <[email protected]> |
834 | ||
835 | Implement support for Ada interface types. | |
836 | ||
837 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
838 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
839 | of a tagged type. | |
840 | ||
636265b6 JB |
841 | 2008-01-01 Joel Brobecker <[email protected]> |
842 | ||
843 | * top.c (print_gdb_version): Update copyright year. | |
844 | ||
9d200a2e | 845 | 2008-01-01 Joel Brobecker <[email protected]> |
b7589f7d | 846 | |
9d200a2e JB |
847 | * ChangeLog-2007: New ChangeLog rotation. |
848 | * ChangeLog: Reset for 2008. | |
849 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
850 | ChangeLog-2007. | |
b7589f7d | 851 | |
9d200a2e | 852 | For older changes see ChangeLog-2007. |
c906108c SS |
853 | \f |
854 | Local Variables: | |
855 | mode: change-log | |
856 | left-margin: 8 | |
857 | fill-column: 74 | |
858 | version-control: never | |
57da7796 | 859 | coding: utf-8 |
c906108c | 860 | End: |