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