2008-02-05 Sterling Augustine <sterling@tensilica.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ee3a2f01
KB
12008-02-05 Kevin Buettner <kevinb@redhat.com>
2
3 * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
4 to account for call site optimizations.
5
d844e34b
JB
62008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
7
8 * tracepoint.c (read_actions): Handle end-of-text indicator
9 in action list properly. (Committed by Jim Blandy)
10
02e4669d
JB
112008-02-05 Jim Blandy <jimb@red-bean.com>
12
13 * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
14 pseudoregister, not an internal error.
85ecb32b 15 Reported by: Andrzej Zaborowski
02e4669d 16
c39c8256
VP
172008-02-04 Vladimir Prus <vladimir@codesourcery.com>
18
19 * varobj.c (c_value_of_variable): Use xstrdup.
20
ae7d22a6
VP
212008-02-04 Vladimir Prus <vladimir@codesourcery.com>
22
23 Update stored rendition of varobj value when format changes.
24 * varobj.c (varobj_set_display_format): Recomputed
25 print_value.
26 (c_value_of_variable): Return print_value.
27
81fe8080
DE
282008-02-03 Doug Evans <dje@google.com>
29
301f0ecf
DE
30 * eval.c (evaluate_subexp_standard): Fix type of result of mixed
31 integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
32 * valops.c (value_one): New function.
33 * value.h (value_one): Declare.
34
35 Fix argument promotion for binary arithmetic ops for C.
36 * valarith.c (unop_result_type): New fn.
37 (binop_result_type): New fn.
38 (value_binop): Move result type computation to binop_result_type.
39 (value_pos, value_neg, value_complement): Move result type
40 computation to unop_result_type.
41
81fe8080
DE
42 PR 2384
43 * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
44 Return basetype, fieldno if found. All callers updated.
45 Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
46 objfile.
47 * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
48 * symfile.h (fill_in_vptr_fieldno): Delete.
49
41808ebe
DE
502008-02-02 Doug Evans <dje@google.com>
51
f8597ac3
DE
52 * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
53
41808ebe
DE
54 * typeprint.c (*): Whitespace cleanup.
55
f964a756
MK
562008-02-02 Mark Kettenis <kettenis@gnu.org>
57 Luis Machado <luisgpm@br.ibm.com>
58 Thiago Jung Bauermann <bauerman@br.ibm.com>
59
60 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
61 don't fit into registerson the stack the way GCC does.
62
b06ead72
JB
632008-02-01 Joel Brobecker <brobecker@adacore.com>
64
65 * symtab.c (symbol_set_names): Do not add an entry in the demangling
66 hash table for Ada symbols. Just store the linkage name as is,
67 and leave the demangled_name as NULL.
68
2cfa0c8d
JB
692007-02-01 Joel Brobecker <brobecker@adacore.com>
70
71 * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
72 in the global scope.
73 (new_symbol): Likewise.
74
98deb0da
VP
752008-02-01 Vladimir Prus <vladimir@codesourcery.com>
76
77 * breakpoint.c (break_command_1): Return void.
78 (break_command_really): Return void. Rethrow
79 exceptions instead of returning.
80 (gdb_breakpoint): Remove the error_message parameter.
81 Return void. Rename to set_breakpoint.
82 * gdb.h (gdb_breakpoint): Rename and move to...
83 * breakpoint.h (set_breakpoint): ...here.
84 * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
85 event hooks even if exception is thrown. Adjust to
86 gdb_breakpoint interface changes.
87
88
ce0451ad
TJB
892008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
90
91 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
92 float in both first and second word in the doubleword, to support
93 old and new ABIs.
94
723a2275
VP
952008-02-01 Vladimir Prus <vladimir@codesourcery.com>
96
97 Properly rethrow exception. This fixes errors
98 about non-existent functions for -break-insert.
99 * breakpoint.c (break_command_really): Use throw_exception
100 for rethrowing. If rethrowing, don't print the exception.
101
d64a946d
TJB
1022008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
103
104 * NEWS: Mention Decimal Floating Point support.
105
02b156f5
JB
1062008-01-31 Joel Brobecker <brobecker@adacore.com>
107
108 * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
109 value type to builtin_type_void_func_ptr.
110
a16b8bcd
UW
1112008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
112
113 * s390-tdep.c (is_float_singleton, is_float_like,
114 alignment_of, s390_return_value): Make checks for
115 TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
116
f949c649
TJB
1172008-01-31 Luis Machado <luisgpm@br.ibm.com>
118 Thiago Jung Bauermann <bauerman@br.ibm.com>
119
120 * infcmd.c (default_print_registers_info): Also print hex
121 raw contents for TYPE_CODE_DECFLOAT registers.
122 * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
123 * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
124 (rs6000_register_name): Add support for DFP pseudo-registers.
125 (rs6000_pseudo_register_type): Likewise.
126 rs6000_pseudo_register_reggroup_p): Likewise.
127 (ppc_pseudo_register_read): New function.
128 (ppc_pseudo_register_write): Likewise.
129 (rs6000_pseudo_register_read): Likewise.
130 (rs6000_pseudo_register_write): Likewise.
131 (e500_pseudo_register_read): Move checks to
132 rs6000_pseudo_register_read.
133 (e500_pseudo_register_write): Move checks to
134 rs6000_pseudo_register_write.
135 (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
136 rs6000_pseudo_register_read and rs6000_pseudo_register_write
137 in gdbarch if SPE or DFP is available. Adjust gdbarch's
138 num_pseudo_regs to account for DFP pseudo regs.
139
5a9e69ba
TJB
1402008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
141
142 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
143 * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
144 (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
145 rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
146 e500_pseudo_register_read, e500_pseudo_register_write): Use
147 IS_SPE_PSEUDOREG macro.
148 (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
149 (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
150 Remove initialization of tdep->ppc_ev31_regnum.
151
4e885b20
JB
1522008-01-08 Paul Hilfinger <hilfinger@adacore.com>
153
154 * printcmd.c (print_formatted): Handle references as for unformatted
155 prints.
156
80f064a2
JB
1572008-01-30 Joel Brobecker <brobecker@adacore.com>
158
159 * eval.c (evaluate_subexp_standard): Add handling of user
160 registers when in EVAL_AVOID_SIDE_EFFECTS mode.
161
9b3442ee
PM
1622008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
163
164 * eval.c (evaluate_subexp_standard): Support
165 BINOP_INTDIV opcode.
166
d118ef87
PH
1672008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
168
169 * valarith.c (value_binop): Add floating-point BINOP_MIN and
170 BINOP_MAX cases.
171 For BINOP_EXP, use length and signedness of left operand only for
172 result, as for shifts.
173 For integral operands to BINOP_EXP, use new integer_pow and
174 uinteger_pow functions so as to get full range of results.
175 (integer_pow): New function.
176 (uinteger_pow): New function.
177
d56d46f5
VP
1782008-01-30 Vladimir Prus <vladimir@codesourcery.com>
179
180 Use vector for varobj_list_children interface.
181 * gdb/varobj.c (varobj_list_children): Return vector
182 of varobjs.
183 * gdb/varobj.h (varobj_list_children): Adjust
184 prototype.
185 (varobj_p): Declare. Declare vector thereof.
186 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
187 for varobj_list_children change.
188 * Makefile.in (varobj_h): Update dependencies.
189
1300a2f4
TJB
1902008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
191
192 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
193 TYPE_CODE_DECFLOAT arguments.
194 (ppc64_sysv_abi_push_dummy_call) Likewise.
195 (get_decimal_float_return_value): New function.
196 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
197 values by calling get_decimal_float_return_value.
198 (ppc64_sysv_abi_return_value): Likewise.
199
95ef687d
NR
2002008-01-30 Nick Roberts <nickrob@snap.net.nz>
201
202 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
203 for preprocessor macro information. Formatting changes.
204
2d717e4f
DJ
2052008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
206
207 * remote.c (struct remote_state): Add cached_wait_status.
208 (remote_exec_file): New variable.
209 (PACKET_vAttach, PACKET_vRun): New constants.
210 (extended_remote_restart): Do not query for status.
211 (struct start_remote_args): New.
212 (remote_start_remote): Take it as a second argument. Check
213 whether the target is running. Issue an error for non-running
214 non-extended targets. Cache the wait status. Set inferior_ptid
215 here.
216 (remote_open_1): Prompt to disconnect non-running targets. Make
217 sure the target is marked running. Do not set inferior_ptid here.
218 Update call to remote_start_remote. Do not call remote_check_symbols
219 if the target is not running.
220 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
221 argument. Handle a non-running target.
222 (remote_detach): Use it.
223 (extended_remote_detach): New.
224 (remote_disconnect): Fix typo. Use remoute_mourn_1.
225 (extended_remote_attach_1, extended_remote_attach)
226 (extended_async_remote_attach): New.
227 (remote_vcont_resume): Remove unused variable.
228 (remote_wait, remote_async_wait): Use any cached wait status.
229 (putpkt_binary, getpkt): Clear any cached wait status.
230 (extended_remoute_mourn_1): New.
231 (extended_remote_mourn): Use it.
232 (extended_async_remote_mourn, extended_remote_run): New.
233 (extended_remote_create_inferior_1): New.
234 (extended_remote_create_inferior): Use it.
235 (extended_remote_async_create_inferior): Likewise.
236 (remote_xfer_partial): Skip for non-executing targets.
237 (init_extended_remote_ops): Set to_detach and to_attach.
238 (init_extended_async_remote_ops): Likewise. Use
239 extended_async_remote_mourn.
240 (_initialize_remote): Register vAttach, vRun, and
241 set remote exec-file.
242 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
243
e85a822c
DJ
2442008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
245
246 * Makefile.in (symfile.o): Update.
247 * NEWS: Mention exec tracing support.
248 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
249 exec events.
250 * infcmd.c (kill_if_already_running, detach_command)
251 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
252 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
253 (follow_exec): Do not check may_follow_exec. Do not mourn and push
254 targets. Apply the sysroot path to the loaded executable. Use
255 no_shared_libraries.
256 * linux-nat.c (linux_child_follow_fork): Print fork following
257 messages if verbose.
258 (kill_wait_callback): Kill again before waiting a second time.
259 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
260 no_shared_libraries.
261
9db13498
JB
2622008-01-29 Joel Brobecker <brobecker@adacore.com>
263
264 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
265
b4d5ed91
JB
2662008-01-29 Joel Brobecker <brobecker@adacore.com>
267
268 * nto-tdep.h: Remove #include "defs.h".
269 * nto-tdep.c: Add #include "defs.h".
270 * Makefile.in (nto_tdep_h): Update dependencies.
271 (nto-tdep.o): Likewise.
272
107313f7 2732008-01-29 Joel Brobecker <brobecker@adacore.com>
ae123ec6
JB
274
275 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
276 and use it.
277 (proceed, start_remote): Update call to wait_for_inferior.
278 * inferior.h (wait_for_inferior): Update declaration.
279 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
280 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
281 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
282 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
283
3f4178d6
DJ
2842008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
285
286 * varobj (adjust_value_for_child_access): Added checking for
287 returned value from gdb_value_ind.
288 (c_describe_child): Likewise.
289 (cplus_describe_child): Fixed a typo.
290
5eeba8d4
JB
2912008-01-29 Jim Blandy <jimb@red-bean.com>
292
293 * MAINTAINERS: Update my info.
294
a5606eee
VP
2952008-01-29 Vladimir Prus <vladimir@codesourcery.com>
296
297 Use multiple locations for hardware watchpoints.
298 This eliminates the need to traverse value chain, doing
299 various checks, in three different places.
300
301 * breakpoint.h (struct bp_location): New fields
302 lengths and watchpoint_type.
303 (struct breakpoint): Remove the val_chain field.
304 * breakpoint.c (is_hardware_watchpoint): New.
305 (free_valchain): Remove.
306 (update_watchpoint): New.
307 (insert_bp_location): For hardware watchpoint, just
308 directly insert it.
309 (insert_breakpoints): Call update_watchpoint_locations
310 on all watchpoints. If we have failed to insert
311 any location of a hardware watchpoint, remove all inserted
312 locations.
313 (remove_breakpoint): For hardware watchpoints, directly
314 remove location.
315 (watchpoints_triggered): Iterate over locations.
316 (bpstat_stop_status): Use only first location of
317 a resource watchpoint.
318 (delete_breakpoint): Don't call free_valchain.
319 (print_one_breakpoint): Don't print all
320 locations for watchpoints.
321 (breakpoint_re_set_one): Use update_watchpoint for
322 watchpoints.
323
0b3de036
VP
3242008-01-29 Vladimir Prus <vladimir@codesourcery.com>
325
326 Don't reset watchpoint block on solib load.
327
328 * breakpoint.c (insert_bp_location): For watchpoints,
329 recompute condition.
330 (breakpoint_re_set_one): Instead of recomputing value
331 and condition for watchpoints, just reset value and
332 let insert_breakpoints/insert_bp_location recompute it.
333 Don't do anything about disabled watchpoint.
334
c3940723
PM
3352008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
336
337 * valarith.c (value_binop): Handle unsigned integer
338 division by zero.
339
83845630
KB
3402008-01-28 Kevin Buettner <kevinb@redhat.com>
341
342 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
343 instruction pattern that appears frequently in position
344 independent code. Fix bug in code which looks for "fmov" and
345 backtracks if no "fmov" is found.
346
9ce5d3bb
DE
3472008-01-28 Doug Evans <dje@google.com>
348
349 * dbxread.c (read_dbx_symtab): Fix indentation.
131fe1bb
DE
350 Reformat comments to 80 columns.
351 Move local var def closer to only use.
9ce5d3bb 352
c78d192c
DJ
3532008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
354
355 * fork-child.c (SHELL_FILE): Remove #ifndef.
356 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
357
e11481da
PM
3582008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
359
360 * i386-tdep.c (i386_skip_noop): New function.
361 (i386_analyze_prologue): Call i386_skip_noop function.
362
244e85c8
MS
3632008-01-24 Michael Snyder <msnyder@specifix.com>
364
365 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
366 * win32-nat.c (win32_xfer_partial): Ditto.
367 * target.c (default_xfer_partial): Minor whitespace adjustment.
368
dd6be234
PA
3692008-01-24 Pedro Alves <pedro@codesourcery.com>
370
371 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
372 strip bit 1 even if pc doesn't point to thumb code.
373
9fa2223d
DJ
3742008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
375
376 * remote.c (remote_wait): Handle SIGINT between packets.
377 (remote_async_wait): Likewise.
378
93815fbf
VP
3792008-01-23 Vladimir Prus <vladimir@codesourcery.com>
380 Chris Demetriou <cgd@google.com>
381
382 * thread.c (add_thread_silent): Renamed
383 from add_thread.
384 (print_thread_events): New variable definition.
385 (show_print_thread_events): New function.
386 (_initialize_thread): Add "set print thread-events" and
387 "show print thread-events" commands.
388 (add_thread): Announce new thread.
389 * gdbthread.h (add_thread_silent): Declare.
390 (print_thread_events): New variable declaration.
391 * inf-ttrace.c (inf_ttrace_wait): Don't
392 inform about new thread, as add_thread is always
393 called too, and will take care of that.
394 * infrun.c (handle_inferior_event): Likewise.
395 * procfs.c (procfs_wait): Likewise.
396 * remote.c (remote_currthread): Likewise.
397 * sol-thread.c (sol_thread_wait): Likewise.
398 * win32-nat.c (get_win32_debug_event): Likewise.
399 * linux-thread-db.c (attach_thread): Likewise.
400 Remove the verbose parameter.
401 (check_event): Make detach_thread be verbose
402 only if print_thread_events is set.
403 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
404 about new thread. This is called only from
405 linux-thread-db.c:attach_thread, which will take care.
406 Remove the verbose parameter.
407 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
408
b4d7c9a6
NR
4092008-01-23 Nick Roberts <nickrob@snap.net.nz>
410
411 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
412
60c46647
VP
4132008-01-22 Vladimir Prus <vladimir@codesourcery.com>
414
415 * breakpoint.c (break_command_really): New parameter
416 ignore_count.
417 (break_command_1): Pass 0 as
418 ignore_count to break_command_really.
419 (gdb_breakpoint): Pass ignore_count to
420 break_command_really.
421
e84605cd
KB
4222008-01-21 Kevin Buettner <kevinb@redhat.com>
423
424 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
425 sigcontext struct via pointer.
426 (struct sigframe comment): Update to show new field `psc'.
427
9d9cd7ac
VP
4282008-01-21 Vladimir Prus <vladimir@codesourcery.com>
429
430 * infrun.c (handle_inferior_event): If
431 we failed to remove breakpoints, error,
432 don't try to increment PC by hand.
433
af5ca30d
NH
4342008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
435
436 Add NetBSD/hppa target and host support.
437
438 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
439 (hppabsd_gregset): Move to ...
440 (hppabsd_regset_from_core_section): Rename
441 hppaobsd_regset_from_core_section and move to ...
442 (hppabsd_find_global_pointer): Update comment.
443 (hppabsd_init_abi): Make global. Do not register
444 hppabsd_regset_from_core_section.
445 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
446 move to ...
447 (_initialize_hppabsd_tdep): Move to ...
448 * hppaobsd-tdep.c: ... here. New file.
449 * hppnbsd-tdep.c: New file.
450 * hppnbsd-nat.c: New file.
451 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
452 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
453 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
454 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
455 * configure.host (hppa*-*-netbsd*): New entry.
456 * configure.tgt (hppa*-*-netbsd*): New entry.
457 (hppa*-*-openbsd*): Update.
458 * NEWS (New native configuration): Mention NetBSD/hppa.
459 (New targets): Mention NetBSD/hppa.
460
32c9a795
MD
4612008-01-18 Markus Deuling <deuling@de.ibm.com>
462
463 * gdbarch.sh (function_list): Add new property bits_big_endian to
464 gdbarch structure.
465 * gdbarch.{c,h}: Regenerate.
466
467 * value.c (struct value): Replace BITS_BIG_ENDIAN by
468 gdbarch_bits_big_endian (comment).
469 (unpack_field_as_long, modify_field): Likewise.
470 * value.h: Likewise (comment).
471 * valops.c (value_slice): Likewise.
472 * valarith.c (value_subscript, value_bit_index): Likewise.
473 * gdbtypes.h (field): Likewise (comment).
474 * eval.c (evaluate_subexp_standard): Likewise.
475 * dwarf2read.c (dwarf2_add_field): Likewise.
476 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
477 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
478
479 * defs.h (BITS_BIG_ENDIAN): Remove.
480
1e5e79d0
MD
4812008-01-18 Markus Deuling <deuling@de.ibm.com>
482
483 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
484 function calls.
485 * m2-exp.y (yylex): Likewise.
486 * objc-exp.y (yylex): Likewise.
487
488 * defs.h (DEPRECATED_STREQN): Remove.
489
fabda5a7
L
4902008-01-17 H.J. Lu <hjl.tools@gmail.com>
491
492 * MAINTAINERS: Update my email address.
493
92726479
JB
4942008-01-17 Jim Blandy <jimb@codesourcery.com>
495
496 * README: Mention gdbserver/README.
497
ef80d18e
PM
4982008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
499
500 * valarith.c (value_binop): Handle BINOP_INTDIV
501 for unsigned and signed integers.
502
1de90795
UW
5032008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
504
505 * s390-tdep.c (s390_gdbarch_init): Set default long double
506 type to 128-bit IEEE quad.
507
c70bd6f3
JB
5082008-01-17 Joel Brobecker <brobecker@adacore.com>
509
510 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
511
ba759613
MK
5122008-01-16 Mark Kettenis <kettenis@gnu.org>
513
77d49ac6
MK
514 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
515
ba759613
MK
516 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
517 * value.c: All callers changed.
518
7ecb6532
MD
5192008-01-16 Markus Deuling <deuling@de.ibm.com>
520
521 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
522 DEPRECATED_STREQ by its expression.
523 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
524 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
525 (scan_xcoff_symtab): Likewise.
526 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
527 * f-lang.c (find_common_for_function): Likewise.
528 * objc-exp.y (parse_number): Likewise.
529
530 * defs.h (DEPRECATED_STREQ): Remove.
531
d15cf01c
MD
5322008-01-16 Markus Deuling <deuling@de.ibm.com>
533
534 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
535 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
536 get_frame_arch to get at the current_architecture. Update AM33_MODE
537 call.
538 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
539 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
540 architecture.
541 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
542
f8028488
MD
5432008-01-16 Markus Deuling <deuling@de.ibm.com>
544
545 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
546 parameter.
547 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
548
549 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
550 current_gdbarch by gdbarch. Update caller.
551
552 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
553 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
554 the current architecture. Update calls of
555 amd64_native_gregset_supplies_p.
556 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
557 (amd64bsd_store_inferior_registers): Likewise.
558
e101270f
MD
5592008-01-16 Markus Deuling <deuling@de.ibm.com>
560
561 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
562 Replace current_gdbarch by gdbarch. Update caller.
563
063e58ba
MD
5642008-01-16 Markus Deuling <deuling@de.ibm.com>
565
566 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
567 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
568 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
569 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
570 (stabsect_build_psymtabs): Fix indentation.
571
662fb31b
MS
5722008-01-15 Michael Snyder <msnyder@specifix.com>
573
574 * corelow.c (core_xfer_partial): Comment, cut/paste error.
575
c1766e7d
PM
5762008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
577
578 * win32-nat.c (win32_create_inferior): Restore code calling
579 CloseHandle on ProcessInformation structure.
580
5ed10e6e
NH
5812008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
582
583 * configure.ac: Check for void * as 3 argument of ptrace.
584 * configure: regenerate.
585
be8626e0
MD
5862008-01-11 Markus Deuling <deuling@de.ibm.com>
587
588 * alpha-tdep.c (alpha_heuristic_proc_start)
589 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
590 current_gdbarch by gdbarch.
591
592 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
593 current architecture by frame_info. Update alpha_heuristic_proc_start
594 call.
595
596 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
597 get_frame_arch to get at the current architecture by frame_info. Update
598 alpha_sigtramp_register_address call.
599
600 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
601 current_gdbarch by gdbarch. Update caller.
602 (convert_to_extended, convert_from_extended): Add endianess parameter
603 for comparison. Update caller.
604 (arm_extract_return_value, arm_store_return_value): Use
605 get_regcache_arch to get at the current architecture.
606
607 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
608 current_gdbarch by gdbarch. Update caller.
609 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
610 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
611
612 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
613 gdbarch as parameter. Update caller.
614 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
615 current_gdbarch by gdbarch. Update caller.
616
617 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
618 update caller. Replace current_gdbarch by gdbarch.
619
620 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
621 the current architecture. Replace current_gdbarch by gdbarch.
622 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
623 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
624 expression. Add gdbarch as parameter and replace current_gdbarch with
625 it. Update caller.
626 (M6811_TDEP): Remove.
627 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
628 architecture.
629 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
630 current_gdbarch by gdbarch. Update caller.
631
632 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
633 update caller.
634 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
635 by gdbarch.
636
637 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
638 caller. Relace current_gdbarch by gdbarch.
639 (altivec_register_p, spe_register_p): Likewise.
640 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
641 parameter.
642 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
643 altivec_register_p and spe_register_p.
644
645 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
646 caller. Replace current_gdbarch by gdbarch.
647 (score_analyze_prologue): use get_frame_arch to get at the current
648 architecture.
649
650 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
651 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
652 current_gdbarch by gdbarch. Update caller.
653 (sparc_frame_cache): Use get_frame_arch to get at the current
654 architecture.
655 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
656 sparc_analyze_prologue.
657
658 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
659 parameter.
660
ed49a04f
MD
6612008-01-11 Markus Deuling <deuling@de.ibm.com>
662
663 * exec.c: #include "arch-utils.h"
664 (print_section_info): Use gdbarch_from_bfd to get at the
665 current architecture. Replace current_gdbarch. Fix indention. Replace
666 deprecated_print_address_numeric by paddress.
667 * Makefile.in (exec.o) Add dependency to arch-utils.h.
668
669 * valprint.c (val_print_string): Replace
670 deprecated_print_address_numeric.
671 * tracepoint.c (trace_mention, scope_info): Likewise.
672 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
673 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
674 (maintenance_check_symtabs): Likewise.
675 * symfile.c (list_overlays_command): Likewise.
676 * stack.c (frame_info, print_block_frame_labels): Likewise.
677 * printcmd.c (print_address, print_address_demangle)
678 (address_info): Likewise.
679 * corefile.c (memory_error): Likewise.
680 * infcmd.c (jump_command): Likewise.
681 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
682 (mention, delete_breakpoint): Likewise.
683 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
684 * dwarf2read.c (dump_die): Likewise.
685 * ada-valprint.c (ada_val_print_1): Likewise.
686 * f-valprint.c (f_val_print): Likewise.
687 * linux-fork.c (info_forks_command): Likewise.
688 * m32r-com.c (m32r_load_section, m32r_load)
689 (m32r_upload_command): Likewise.
690
691 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
692
6093d2eb
MD
6932008-01-11 Markus Deuling <deuling@de.ibm.com>
694
695 * gdbarch.sh (skip_prologue): Add gdbarch
696 as parameter.
697 * gdbarch.{c,h}: Regenerate.
698
699 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
700 * amd64-tdep.c (amd64_skip_prologue): Likewise.
701 * avr-tdep.c (avr_skip_prologue): Likewise.
702 * cris-tdep.c (cris_skip_prologue): Likewise.
703 * frv-tdep.c (frv_skip_prologue): Likewise.
704 * h8300-tdep.c (h8300_skip_prologue): Likewise.
705 * hppa-tdep.c (hppa_skip_prologue): Likewise.
706 * i386-tdep.c (i386_skip_prologue): Likewise.
707 * ia64-tdep.c (ia64_skip_prologue): Likewise.
708 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
709 * m32r-tdep.c (m32r_skip_prologue): Likewise.
710 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
711 * m68k-tdep.c (m68k_skip_prologue): Likewise.
712 * m88k-tdep.c (m88k_skip_prologue): Likewise.
713 * mep-tdep.c (mep_skip_prologue): Likewise.
714 * mips-tdep.c (mips_skip_prologue): Likewise.
715 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
716 * mt-tdep.c (mt_skip_prologue): Likewise.
717 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
718 * score-tdep.c (score_skip_prologue): Likewise.
719 * sh64-tdep.c (sh64_skip_prologue): Likewise.
720 * sh-tdep.c (sh_skip_prologue): Likewise.
721 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
722 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
723 * spu-tdep.c (spu_skip_prologue): Likewise.
724 * v850-tdep.c (v850_skip_prologue): Likewise.
725 * vax-tdep.c (vax_skip_prologue): Likewise.
726 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
727 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
728
729 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
730 current_gdbarch by gdbarch.
731 * m32c-tdep.c (m32c_skip_prologue): Likewise.
732 * s390-tdep.c (s390_skip_prologue): Likewise.
733
72f5cf0e
DE
7342008-01-10 Doug Evans <dje@google.com>
735
736 * defs.h (struct continuation_arg): Fix typo in comment.
737 * target.c (target_translate_tls_address): Fix comment spelling error.
738
689e4e2d
TJB
7392008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
740
741 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
742 (DOUBLEST_SCAN_FORMAT): Likewise.
743 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
744 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
745 * c-exp.y (parse_number): Likewise.
746 * jv-exp.y (parse_number): Likewise.
747 * objc-exp.y (parse_number): Likewise.
748 * p-exp.y (parse_number): Likewise.
749
ab0d6e0d
JB
7502008-01-09 Joel Brobecker <brobecker@adacore.com>
751
752 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
753 (check_typedef): Likewise.
754
0aea4bf3
LM
7552008-01-09 Luis Machado <luisgpm@br.ibm.com>
756
757 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
758 seen_double_big_d, treat the new H, D, and DD modifiers as length
759 modifiers.
760
137033e9
JB
7612008-01-08 Joel Brobecker <brobecker@adacore.com>
762
763 * dwarf2read.c (read_enumeration_type): Add comment.
764
dda297ec
TJB
7652008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
766
767 * config.in: Regenerate.
768
a93c0eb6
JB
7692008-01-08 Joel Brobecker <brobecker@adacore.com>
770
771 * ada-lang.c (ada_convert_actual): Renames convert_actual.
772 Make non-static.
773 (ada_convert_actuals): Delete.
774 * ada-lang.h (ada_convert_actual): Add declaration.
775 (ada_convert_actuals): Remove declaration.
776 * infcall.c: #include "ada-lang.h".
777 (value_arg_coerce): Add new parameter sp. Update function
778 documetnation. Add handling of Ada function call parameters.
779 * Makefile.in (infcall.o): Update dependencies.
780
a84a8a0d
JB
7812008-01-08 Paul Hilfinger <hilfinger@adacore.com>
782
783 * ada-lang.c (ensure_lval): Fix value lval kind.
784 (convert_actual): Add handling for arguments passed by reference.
785
d7f98cce
DE
7862008-01-08 Doug Evans <dje@google.com>
787
788 * dbxread.c (read_dbx_symtab): Fix indentation.
789
4ef30785
TJB
7902008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
791
792 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
793 (valarith.o): Depend on dfp.h.
794 (valops.o): Likewise.
795 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
796 (set_decnumber_context): New function.
797 (decimal_check_errors): Likewise.
798 (decimal_from_number): Likewise.
799 (decimal_to_number): Likewise.
800 (decimal_from_string): Use set_decnumber_context and
801 decimal_check_errors.
802 (decimal_from_integral): New function.
803 (decimal_from_floating): Likewise.
804 (decimal_to_double): Likewise.
805 (promote_decimal): Likewise.
806 (decimal_binop): Likewise.
807 (decimal_is_zero): Likewise.
808 (decimal_compare): Likewise.
809 (decimal_convert): Likewise.
810 * dfp.h (decimal_from_integral): New prototype.
811 (decimal_from_floating): Likewise.
812 (decimal_to_double): Likewise.
813 (decimal_binop): Likewise.
814 (decimal_is_zero): Likewise.
815 (decimal_compare): Likewise.
816 (decimal_convert): Likewise.
817 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
818 call to value_from_decfloat.
819 * valarith.c: Include dfp.h.
820 (value_args_as_decimal): New function.
821 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
822 (value_logical_not): Likewise.
823 (value_equal): Likewise.
824 (value_less): Likewise.
825 (value_pos): Likewise.
826 (value_neg): Formatting fix.
827 * valops.c: Include dfp.h.
828 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
829 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
830 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
831 (value_from_decfloat): Remove expect_type argument.
832 * value.h (value_from_decfloat): Update prototype.
833
a7c02bc8
VP
8342008-01-07 Vladimir Prus <vladimir@codesourcery.com>
835
836 Ignore change in name of dynamic linker during
837 execution on Solaris. This also unbreaks pending breakpoints.
838
839 * solist.h (struct target_so_ops): New field same.
840 * solib-svr4.c (svr4_same): New.
841 (_initialize_svr4_solib): Register svr4_same.
842 * solib.c (update_solib_list): Use ops->same, if available.
843
610dd7f9
CF
8442008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
845
846 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
847 when using MS-DOS paths.
848
7a404eba
PA
8492008-01-05 Pedro Alves <pedro@codesourcery.com>
850
851 * NEWS: Mention --pid and --core command line behaviour changes.
852
a4d9b460
PA
8532008-01-05 Pedro Alves <pedro@codesourcery.com>
854
855 * main.c (captured_main): Remove 'count' varible and the
856 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
857 --pid options were issued simultaneously. If an explicit pid
858 option was passed, don't fallback to core file. Detect extra
859 arguments better in the presence of explicit pid or core
860 arguments.
861
0c281816
JB
8622008-01-05 Joel Brobecker <brobecker@adacore.com>
863
864 * ada-lang.c (ada_which_variant_applies): Correctly compute
865 the value of the discriminant when the variant record is packed.
866
babe1480
JB
8672008-01-04 Joel Brobecker <brobecker@adacore.com>
868
869 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
870 that are used to differentiate homonyms.
871
727e3d2e
JB
8722008-01-04 Jerome Guitton <guitton@adacore.com>
873
874 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
875 when the type is an anonymous pointer type.
876 (ada_check_typedef): Avoid a seg fault when the type is null.
877 * ada-typeprint.c (print_array_type): Add support for pointer
878 to packed arrays.
879
bb28a9dc
JB
8802008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
881
882 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
883
6799def4
JB
8842008-01-04 Joel Brobecker <brobecker@adacore.com>
885
886 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
887 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
888
d3353bbd
JB
8892008-01-04 Joel Brobecker <brobecker@adacore.com>
890
891 * ada-exp.y (chop_separator): New function.
892 (write_selectors): Rewrite to re-use chop_separator.
893 (ada_nget_field_index, get_symbol_field_type): New functions.
894 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
895 expressions.
896
82cf6c60
TJB
8972008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
898
899 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
900 of SYMBOL_VALUE when working with function symbols.
901
b3dbf008
JB
9022008-01-03 Joel Brobecker <brobecker@adacore.com>
903
904 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
905 expressions. These expressions do not need to be rewriten.
906
02eb380e
JB
9072008-01-03 Joel Brobecker <brobecker@adacore.com>
908
909 * dwarf2read.c (read_enumeration_type): Flag type as stub if
910 the given die is a declaration.
911
abb68b3e
JB
9122008-01-03 Joel Brobecker <brobecker@adacore.com>
913
914 * ada-lang.c (ada_array_bound_from_type): Make non-static.
915 Handle properly the case when the index type is an enumerated type.
916 Do not return the subtype of the bounds type, just return the
917 bounds type directly - this is not needed and is more consistent
918 with what we do for arrays when no XA parallel type exists.
919
f192137b
JB
9202008-01-03 Joel Brobecker <brobecker@adacore.com>
921
922 * ada-lang.c (static_unwrap_type): Add forward declaration.
923 (template_to_static_fixed_type): Fields of dynamic types sometimes
924 also need to be unwrapped. Take this into account.
925 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
926 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
927 * ada-typeprint.c (ada_print_type): Get the typename from
928 the original type, not the base type.
929
1ed6ede0
JB
9302008-01-03 Jerome Guitton <guitton@adacore.com>
931
932 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
933 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
934 Update calls to ada_to_fixed_type.
935 (ada_template_to_fixed_record_type_1): Ditto, but without looking
936 for the tag.
937 (ada_to_fixed_type): Add check_tag parameter; do not look for
938 tag if null. When looking for a tag, use a fixed record type.
939 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
940 * ada-valprint.c (printable_val_type, ada_value_print): Update
941 calls to ada_to_fixed_type.
942
542a88d0
LM
9432008-01-03 Luis Machado <luisgpm@br.ibm.com>
944
945 * doublest.c (convert_floatformat_to_doublest): Call
946 floatformat_to_doublest instead of floatformat_to_double and use
947 DOUBLEST variables.
948 (convert_doublest_to_floatformat): Call floatformat_from_doublest
949 instead of floatformat_from_double and use DOUBLEST variables.
950
dc2bbab2
NH
9512008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
952
953 * MAINTAINERS (Write After Approval): Add self.
954
8b60591b
JB
9552008-01-03 Joel Brobecker <brobecker@adacore.com>
956
957 * symfile.c (set_initial_language): Make non-static.
958 * symfile.h (set_initial_language): Add declaration.
959 * language.c: #include "symfile.h".
960 (set_language): Call set_initial_language if the frame language
961 could not be determined.
962
ceef53c1
JB
9632008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
964
965 * eval.c (evaluate_subexp_for_address): Provide frame address to
966 locate_var_value only if it will be needed.
967
ef29ce1a
JK
9682008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
969
970 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
971
0a07e705
JB
9722008-01-02 Joel Brobecker <brobecker@adacore.com>
973
974 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
975 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
976 This is needed to make sure that any other treatment applied
977 to the resulting value does not fail for spurious reason,
978 such as trying to take the address of this value.
979
f58b38bf
JB
9802008-01-02 Joel Brobecker <brobecker@adacore.com>
981
982 * ada-lang.c (ada_value_equal): Dereference reference types when
983 comparing arrays.
984
9b254dd1
DJ
9852008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
986
987 Updated copyright notices for most files.
988
33605d39
CF
9892008-01-01 Christopher Faylor <me+gdb@cgf.cx>
990
991 * win32-nat.c (psapi_module_handle): Remove static.
992 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
993 return first module found if base_address is zero. Don't initialize
994 psapi function pointers here. Convert to cygwin paths when
995 appropriate.
996 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
997 executable name. Use get_module_name when that fails or when
998 !__CYGWIN__.
999 (_initialize_psapi): New function. Initialize psapi stuff before it is
1000 needed or issue a warning if it is not found. Move psapi_module_handle
1001 here.
1002
29480c32
JB
10032008-01-01 Joel Brobecker <brobecker@adacore.com>
1004
1005 * ada-lang.c (ada_remove_trailing_digits): New function.
1006 (ada_remove_po_subprogram_suffix): New function.
1007 (ada_decode): Improve. Move the description of the algorithm
1008 directly inside the code, instead of in the function global
1009 description.
1010
969a1360
JB
10112008-01-01 Joel Brobecker <brobecker@adacore.com>
1012
1013 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1014 and always print the dereferenced value.
1015
b7789565
JB
10162008-01-01 Joel Brobecker <brobecker@adacore.com>
1017
1018 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1019 of the case where the first argument is a reference.
1020 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1021
73fb9985
JB
10222008-01-01 Joel Brobecker <brobecker@adacore.com>
1023
1024 Implement support for Ada interface types.
1025
1026 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1027 (ada_is_ignored_field): Ignore fields that are a dispatch table
1028 of a tagged type.
1029
636265b6
JB
10302008-01-01 Joel Brobecker <brobecker@adacore.com>
1031
1032 * top.c (print_gdb_version): Update copyright year.
1033
9d200a2e 10342008-01-01 Joel Brobecker <brobecker@adacore.com>
b7589f7d 1035
9d200a2e
JB
1036 * ChangeLog-2007: New ChangeLog rotation.
1037 * ChangeLog: Reset for 2008.
1038 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1039 ChangeLog-2007.
b7589f7d 1040
9d200a2e 1041For older changes see ChangeLog-2007.
c906108c
SS
1042\f
1043Local Variables:
1044mode: change-log
1045left-margin: 8
1046fill-column: 74
1047version-control: never
57da7796 1048coding: utf-8
c906108c 1049End:
This page took 0.978867 seconds and 4 git commands to generate.