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