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