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