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