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