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