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