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