* frame.c (reinit_frame_cache): Only annotate if frames were
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
0d6ba1b1
DJ
12008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * frame.c (reinit_frame_cache): Only annotate if frames were
4 previously valid.
5
6fe305f7
UW
62008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
7
8 * regformats/reg-ppc.dat: Rename "ps" to "msr".
9 * regformats/reg-ppc64.dat: Likewise.
10
9b4b61c8
UW
112008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
12
13 * features/Makefile (%.dat): Emit xmltarget statement.
14
15 * regformats/regdat.sh: Support xmltarget and xmlarch statments.
16 Generate code to set gdbserver_xmltarget in init_registers_${name}.
17
18 * regformats/arm-with-iwmmxt.dat: Regenerate.
19 * regformats/mips64-linux.dat: Regenerate.
20 * regformats/mips-linux.dat: Regenerate.
21 * regformats/rs6000/powerpc-32.dat: Regenerate.
22 * regformats/rs6000/powerpc-64.dat: Regenerate.
23 * regformats/rs6000/powerpc-e500.dat: Regenerate.
24
25 * regformats/reg-arm.dat: Add xmlarch statement.
26 * regformats/reg-i386.dat: Likewise.
27 * regformats/reg-i386-linux.dat: Likewise.
28 * regformats/reg-x86-64-linux.dat: Likewise.
29 * regformats/reg-spu.dat: Likewise.
30
20b4711e
DJ
312008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
32
33 * remote.c (remote_wait, remote_async_wait): Stop if we receive
34 an error.
35
1843f87b
DJ
362008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
37
38 * utils.c (debug_timestamp): New.
39 (vfprintf_unfiltered): Print timestamps if requested.
40 (show_debug_timestamp): New.
41 (initialize_utils): Register "set debug timestamp".
42 * NEWS: Mention "set debug timestamp". Add GDB 6.8 section.
43
6a048695
JB
442008-02-27 Joel Brobecker <brobecker@adacore.com>
45
46 * breakpoint.c (skip_prologue_sal): New function.
47 (resolve_sal_pc): Adjust SAL past prologue if the SAL was
48 computed from a line number.
49
0b998f49
JB
502008-02-27 Joel Brobecker <brobecker@adacore.com>
51
52 * features/rs6000/power-core.xml, features/rs6000/power64-core.xml
53 features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
54 Set PC register type to "code_ptr".
55 * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
56 features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
57 features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
58 features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
59 features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
60 features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
61 features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c:
62 Regenerate.
63
d05b4ac3
UW
642008-02-27 Ulrich Weigand <uweigand@de.ibm.com>
65
66 * regformats/regdat.sh: Rename init_registers function in
67 generated file to init_registers_${name}.
68
69 * regformats/reg-crisv32.dat: Set "name" to crisv32.
70 * regformats/reg-ppc64.dat: Set "name" to ppc64.
71 * regformats/reg-s390x.dat: Set "name" to s390x.
72
a5d9d57d
DJ
732008-02-26 Greg Law <glaw@undo-software.com>
74
75 * regcache.c (registers_changed): Call reinit_frame_cache.
76
e25c958c
DJ
772008-02-26 Daniel Jacobowitz <dan@codesourcery.com>
78
79 * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o.
80 * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver
81 and svr4_fetch_objfile_link_map.
82 * Makefile.in (sh-linux-tdep.o): Update.
83
5daa78cc
TJB
842008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
85
86 * amd64-tdep.c (amd64_classify): Add support for decimal float
87 types.
88 * i386-tdep.c (i386_return_value): Make 128-bit decimal float
89 use the struct return convention.
90
54e52265
VP
912008-02-26 Nick Roberts <nickrob@snap.net.nz>
92
93 * breakpoint.c (print_one_breakpoint_location): Revert Enb field
94 to old format. Discard breakpoint address if shared library is
95 unloaded.
96 (breakpoint_1): Adjust formatting of table header accordingly.
97
d8f2712d
VP
982008-02-25 Vladimir Prus <vladimir@codesourcery.com>
99
100 * remote.c (remote_get_threadlist): If the response
101 is empty, don't try to parse it.
102
05ce04a4
VP
1032008-02-23 Vladimir Prus <vladimir@codesourcery.com>
104
105 Unbreak 'target async'.
106 * serial.c (serial_async): Set the
107 handler function before enabling async
108 mode.
109
b36ec657
DJ
1102008-02-22 Daniel Jacobowitz <dan@codesourcery.com>
111
112 * solib-svr4.c (enable_break): Convert r_brk to a code address.
113
df7df359
PA
1142008-02-21 Pedro Alves <pedro@codesourcery.com>
115
116 * remote.c (extended_remote_attach_1): Set attach_flag.
117 (extended_remote_create_inferior_1): Clear attach_flag.
118
7cd25cfc
DJ
1192008-02-20 Daniel Jacobowitz <dan@codesourcery.com>
120
121 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
122 r_brk_offset.
123 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
124 * solib-svr4.c (solib_svr4_r_brk): New.
125 (open_symbol_file_object, svr4_current_sos): Always check the
126 debug base.
127 (svr4_fetch_objfile_link_map): Do not set debug_base.
128 (enable_break): Use r_brk if it is set.
129 (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
130 (svr4_lp64_fetch_link_map_offsets): Likewise.
131 * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
132
07ea644b
MD
1332008-02-20 Markus Deuling <deuling@de.ibm.com>
134 Mark Kettenis <kettenis@gnu.org>
135
136 * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
137 trad_frame_saved_reg.
138 (trad-frame.h): New include.
139
140 (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
141 instead of frame_obstack_zalloc.
142 (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
143
144 * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
145
40887e1a
MD
1462008-02-20 Markus Deuling <deuling@de.ibm.com>
147
148 * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
149 from disassemble_info instead of gdbarch_byte_order.
150
151 * mips-tdep.c (gdb_print_insn_mips): Likewise.
152 * arm-tdep.c (gdb_print_insn_arm): Likewise.
153
ae4b2284
MD
1542008-02-20 Markus Deuling <deuling@de.ibm.com>
155
156 * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
157 gdbarch as parameter.
158
159 * gdbarch.{c,h}: Regenerate.
160
161 * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
162 parameter.
163 * mem-break.c (default_memory_insert_breakpoint)
164 (default_memory_remove_breakpoint): Likewise.
165 * target.h (default_memory_remove_breakpoint)
166 (default_memory_insert_breakpoint): Likewise.
167
168 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
169 parameter. Replace current_gdbarch by gdbarch.
170 * m32r-tdep.c (m32r_memory_insert_breakpoint)
171 (m32r_memory_remove_breakpoint): Likewise.
172
d9bf65d5
DJ
1732008-02-19 Daniel Jacobowitz <dan@codesourcery.com>
174
175 * MAINTAINERS: Add Vladimir Prus as MI maintainer.
176
b93b6ca7
JB
1772008-02-19 Joel Brobecker <brobecker@adacore.com>
178
179 * NEWS: Add entry describing Add support improvements.
180
4ed226fe
MD
1812008-02-18 Markus Deuling <deuling@de.ibm.com>
182
183 * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
184 M68K_FP0_REGNUM.
185
caaa79ad
MD
1862008-02-18 Markus Deuling <deuling@de.ibm.com>
187
188 * sentinel-frame.c (sentinel_frame_prev_register): Do not call
189 register_offset_hack anymore.
190
191 * regcache.{c,h} (register_offset_hack): Remove.
192
e38c262f
MD
1932008-02-18 Markus Deuling <deuling@de.ibm.com>
194
195 * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
196
197 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
198 current_gdbarch by gdbarch.
199 (hppa64_hpux_find_global_pointer): Likewise.
200 * hppa-tdep.c (hppa_find_global_pointer): Likewise.
201 (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
202 find_global_pointer.
203
204 * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
205 parameter.
206 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
207
208 * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
209 of gdbarch_num_regs.
210
211 * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
212 replace current_gdbarch by gdbarch.
213 (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
214
206988c4
MD
2152008-02-18 Markus Deuling <deuling@de.ibm.com>
216
217 * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
218 and replace current_gdbarch by gdbarch.
219
220 (store_register): Update call for exec_one_dummy_insn.
221 (fetch_register, store_register): Update call of regmap.
222
223 * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
224 parameter and replace current_gdbarch by gdbarch.
225
226 (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
227 the current architecture. Update call for getregs_supplies and
228 getfpregs_supplies.
229 (ppcnbsd_fetch_inferior_registers): Likewise.
230
231 * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
232 replace current_gdbarch by gdbarch.
233 (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
234 get_regcache_arch to get at the current architecture. Update call for
235 getfpregs_supplies.
236
f642be6b
MD
2372008-02-18 Markus Deuling <deuling@de.ibm.com>
238
239 * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
240 variables.
241
b1f2bf01
MD
2422008-02-15 Markus Deuling <deuling@de.ibm.com>
243
244 * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
245
ee163bf5
VP
2462008-02-14 Vladimir Prus <vladimir@codesourcery.com>
247
248 * NEWS: Mention pending breakpints in MI.
249
f6fbcbf9
MD
2502008-02-14 Markus Deuling <deuling@de.ibm.com>
251
252 * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
253
36af4ef6
MD
2542008-02-13 Markus Deuling <deuling@de.ibm.com>
255
256 Add script to build and test GDB using enable-targets=all.
257
258 * gdb_buildall.sh: New file.
259
94a0e877
MG
2602008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
261
262 * NEWS (New native configurations): Xtensa GNU/Linux.
263 (New targets): Xtensa GNU/Linux.
264 * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
265 xtensa-linux-tdep.o
266 (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
267 (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
268 * configure.tgt (xtensa*-*-linux*): New entry.
269 * xtensa-config.c (xtensa_tdep): New variable.
270 (xtensa_config_byte_order, xtensa_config_tdep): Removed.
271 (rmap): Change format based on new macro XTREG.
272 (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
273 * xtensa-linux-nat.c: New.
274 * xtensa-linux-tdep.c: New.
275 * xtensa-xtregs.c: New.
276 * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
277 (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
278 (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
279 (xtensa_register_t): New field coprocessor.
280 (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
281 * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
282 (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
283 Update to handle privileged registers.
284 (xtensa_supply_gregset) Remove exccause and excvaddr registers.
285 (xtensa_push_dummy_call): Set windowstart register correctly.
286 (call0_analyze_prologue): Initialize xtensa_default_isa.
287 (xtensa_derive_tdep): New.
288 (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
289 xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
290 Call xtensa_derive_tdep().
291 * config/xtensa/linux.mh: New.
292 * regformats/reg-xtensa.dat: New.
293
b7ee1b0a 2942008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change)
f90c07ac
EZ
295
296 * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
297 (filenames.h): New include.
298 * Makefile.in (corelow.o): Add dependency for filenames.h.
299
8da2a1df
DJ
3002008-02-08 Doug Evans <dje@google.com>
301
302 * source.c (find_and_open_source): Always rewrite absolute filenames.
303
776592bf
DE
3042008-02-07 Doug Evans <dje@google.com>
305
306 * breakpoint.c: #include "hashtab.h".
307 (ambiguous_names_p): New fn.
308 (update_breakpoint_locations): When restoring bp enable status, don't
309 compare function names if any functions have same name.
310 * Makefile.in (breakpoint.o): Add hashtab.h dependency.
311
d6565258
JB
3122008-02-07 Joel Brobecker <brobecker@adacore.com>
313
314 * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
315 instead of just a VEC*. Update use of SV.
316 (ada_make_symbol_completion_list): Update symbol_completion_add calls.
317
6d53d0af
JB
3182007-02-07 Joel Brobecker <brobecker@adacore.com>
319
320 * NEWS: Put all new commands since gdb-6.7 together.
321
2ba95b9b
JB
3222007-02-07 Joel Brobecker <brobecker@adacore.com>
323
324 * ada-lang.c: #include "vec.h".
325 (struct string_vector, new_string_vector, string_vector_append):
326 Delete.
327 (char_ptr): New typedef.
328 (DEF_VEC_P (char_ptr)): New VEC type.
329 (symbol_completion_add): Update profile to take the new VEC type
330 instead of the old string_vector structure. Update code accordingly.
331 (ada_make_symbol_completion_list): Use the new VEC type instead of
332 the old string_vector structure, and update the code accordingly.
333 * Makefile.in (ada-lang.o): Add dependency on vec.h.
334
4ae0885a
PM
3352008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
336
337 * p-exp.y: Set current_type in missing places.
338 (leftdiv_is_integer): New static variable.
339 Typecast right operand of BINOP_DIV to long_double if both operands
340 are integers.
341
06b1d59c
MR
3422008-02-06 Maciej W. Rozycki <macro@mips.com>
343
344 * remote-mips.c (set_breakpoint): Rename to...
345 (mips_set_breakpoint): ... this.
346 (clear_breakpoint): Rename to...
347 (mips_clear_breakpoint): ... this.
348 (common_breakpoint): Rename to...
349 (mips_common_breakpoint): ... this.
350 (check_lsi_error): Rename to...
351 (mips_check_lsi_error): ... this.
352
41d27058
JB
3532007-02-05 Joel Brobecker <brobecker@adacore.com>
354
355 * language.h (struct language_defn): Add new field
356 la_make_symbol_completion_list.
357 * symtab.c (default_make_symbol_completion_list): Renames
358 make_symbol_completion_list.
359 (make_symbol_completion_list): New function.
360 * symtab.h (default_make_symbol_completion_list): Add declaration.
361 * langauge.c (unknown_language): Set la_make_symbol_completion_list.
362 (auto_language, local_language): Likewise.
363 * objc-lang.c (objc_language_defn): Likewise.
364 * scm-lang.c (scm_language_defn): Likewise.
365 * m2-lang.c (m2_language_defn): Likewise.
366 * f-lang.c (f_language_defn): Likewise.
367 * jv-lang.c (java_language_defn): Likewise.
368 * p-lang.c (pascal_language_defn): Likewise.
369 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
370 (minimal_language_defn): Likewise.
371 * ada-lang.c (struct string_vector): New structure.
372 (new_string_vector, string_vector_append, ada_unqualified_name)
373 (add_angle_brackets, symbol_completion_match, symbol_completion_add)
374 (ada_make_symbol_completion_list): New functions.
375 (ada_language_defn): Set la_make_symbol_completion_list.
376 * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
377 this function is static.
378
ee3a2f01
KB
3792008-02-05 Kevin Buettner <kevinb@redhat.com>
380
381 * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
382 to account for call site optimizations.
383
d844e34b
JB
3842008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
385
386 * tracepoint.c (read_actions): Handle end-of-text indicator
387 in action list properly. (Committed by Jim Blandy)
388
02e4669d
JB
3892008-02-05 Jim Blandy <jimb@red-bean.com>
390
391 * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
392 pseudoregister, not an internal error.
85ecb32b 393 Reported by: Andrzej Zaborowski
02e4669d 394
c39c8256
VP
3952008-02-04 Vladimir Prus <vladimir@codesourcery.com>
396
397 * varobj.c (c_value_of_variable): Use xstrdup.
398
ae7d22a6
VP
3992008-02-04 Vladimir Prus <vladimir@codesourcery.com>
400
401 Update stored rendition of varobj value when format changes.
402 * varobj.c (varobj_set_display_format): Recomputed
403 print_value.
404 (c_value_of_variable): Return print_value.
405
81fe8080
DE
4062008-02-03 Doug Evans <dje@google.com>
407
301f0ecf
DE
408 * eval.c (evaluate_subexp_standard): Fix type of result of mixed
409 integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
410 * valops.c (value_one): New function.
411 * value.h (value_one): Declare.
412
413 Fix argument promotion for binary arithmetic ops for C.
414 * valarith.c (unop_result_type): New fn.
415 (binop_result_type): New fn.
416 (value_binop): Move result type computation to binop_result_type.
417 (value_pos, value_neg, value_complement): Move result type
418 computation to unop_result_type.
419
81fe8080
DE
420 PR 2384
421 * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
422 Return basetype, fieldno if found. All callers updated.
423 Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
424 objfile.
425 * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
426 * symfile.h (fill_in_vptr_fieldno): Delete.
427
41808ebe
DE
4282008-02-02 Doug Evans <dje@google.com>
429
f8597ac3
DE
430 * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
431
41808ebe
DE
432 * typeprint.c (*): Whitespace cleanup.
433
f964a756
MK
4342008-02-02 Mark Kettenis <kettenis@gnu.org>
435 Luis Machado <luisgpm@br.ibm.com>
436 Thiago Jung Bauermann <bauerman@br.ibm.com>
437
438 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
439 don't fit into registerson the stack the way GCC does.
440
b06ead72
JB
4412008-02-01 Joel Brobecker <brobecker@adacore.com>
442
443 * symtab.c (symbol_set_names): Do not add an entry in the demangling
444 hash table for Ada symbols. Just store the linkage name as is,
445 and leave the demangled_name as NULL.
446
2cfa0c8d
JB
4472007-02-01 Joel Brobecker <brobecker@adacore.com>
448
449 * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
450 in the global scope.
451 (new_symbol): Likewise.
452
98deb0da
VP
4532008-02-01 Vladimir Prus <vladimir@codesourcery.com>
454
455 * breakpoint.c (break_command_1): Return void.
456 (break_command_really): Return void. Rethrow
457 exceptions instead of returning.
458 (gdb_breakpoint): Remove the error_message parameter.
459 Return void. Rename to set_breakpoint.
460 * gdb.h (gdb_breakpoint): Rename and move to...
461 * breakpoint.h (set_breakpoint): ...here.
462 * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
463 event hooks even if exception is thrown. Adjust to
464 gdb_breakpoint interface changes.
465
466
ce0451ad
TJB
4672008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
468
469 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
470 float in both first and second word in the doubleword, to support
471 old and new ABIs.
472
723a2275
VP
4732008-02-01 Vladimir Prus <vladimir@codesourcery.com>
474
475 Properly rethrow exception. This fixes errors
476 about non-existent functions for -break-insert.
477 * breakpoint.c (break_command_really): Use throw_exception
478 for rethrowing. If rethrowing, don't print the exception.
479
d64a946d
TJB
4802008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
481
482 * NEWS: Mention Decimal Floating Point support.
483
02b156f5
JB
4842008-01-31 Joel Brobecker <brobecker@adacore.com>
485
486 * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
487 value type to builtin_type_void_func_ptr.
488
a16b8bcd
UW
4892008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
490
491 * s390-tdep.c (is_float_singleton, is_float_like,
492 alignment_of, s390_return_value): Make checks for
493 TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
494
f949c649
TJB
4952008-01-31 Luis Machado <luisgpm@br.ibm.com>
496 Thiago Jung Bauermann <bauerman@br.ibm.com>
497
498 * infcmd.c (default_print_registers_info): Also print hex
499 raw contents for TYPE_CODE_DECFLOAT registers.
500 * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
501 * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
502 (rs6000_register_name): Add support for DFP pseudo-registers.
503 (rs6000_pseudo_register_type): Likewise.
504 rs6000_pseudo_register_reggroup_p): Likewise.
505 (ppc_pseudo_register_read): New function.
506 (ppc_pseudo_register_write): Likewise.
507 (rs6000_pseudo_register_read): Likewise.
508 (rs6000_pseudo_register_write): Likewise.
509 (e500_pseudo_register_read): Move checks to
510 rs6000_pseudo_register_read.
511 (e500_pseudo_register_write): Move checks to
512 rs6000_pseudo_register_write.
513 (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
514 rs6000_pseudo_register_read and rs6000_pseudo_register_write
515 in gdbarch if SPE or DFP is available. Adjust gdbarch's
516 num_pseudo_regs to account for DFP pseudo regs.
517
5a9e69ba
TJB
5182008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
519
520 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
521 * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
522 (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
523 rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
524 e500_pseudo_register_read, e500_pseudo_register_write): Use
525 IS_SPE_PSEUDOREG macro.
526 (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
527 (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
528 Remove initialization of tdep->ppc_ev31_regnum.
529
4e885b20
JB
5302008-01-08 Paul Hilfinger <hilfinger@adacore.com>
531
532 * printcmd.c (print_formatted): Handle references as for unformatted
533 prints.
534
80f064a2
JB
5352008-01-30 Joel Brobecker <brobecker@adacore.com>
536
537 * eval.c (evaluate_subexp_standard): Add handling of user
538 registers when in EVAL_AVOID_SIDE_EFFECTS mode.
539
9b3442ee
PM
5402008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
541
542 * eval.c (evaluate_subexp_standard): Support
543 BINOP_INTDIV opcode.
544
d118ef87
PH
5452008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
546
547 * valarith.c (value_binop): Add floating-point BINOP_MIN and
548 BINOP_MAX cases.
549 For BINOP_EXP, use length and signedness of left operand only for
550 result, as for shifts.
551 For integral operands to BINOP_EXP, use new integer_pow and
552 uinteger_pow functions so as to get full range of results.
553 (integer_pow): New function.
554 (uinteger_pow): New function.
555
d56d46f5
VP
5562008-01-30 Vladimir Prus <vladimir@codesourcery.com>
557
558 Use vector for varobj_list_children interface.
559 * gdb/varobj.c (varobj_list_children): Return vector
560 of varobjs.
561 * gdb/varobj.h (varobj_list_children): Adjust
562 prototype.
563 (varobj_p): Declare. Declare vector thereof.
564 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
565 for varobj_list_children change.
566 * Makefile.in (varobj_h): Update dependencies.
567
1300a2f4
TJB
5682008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
569
570 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
571 TYPE_CODE_DECFLOAT arguments.
572 (ppc64_sysv_abi_push_dummy_call) Likewise.
573 (get_decimal_float_return_value): New function.
574 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
575 values by calling get_decimal_float_return_value.
576 (ppc64_sysv_abi_return_value): Likewise.
577
95ef687d
NR
5782008-01-30 Nick Roberts <nickrob@snap.net.nz>
579
580 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
581 for preprocessor macro information. Formatting changes.
582
2d717e4f
DJ
5832008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
584
585 * remote.c (struct remote_state): Add cached_wait_status.
586 (remote_exec_file): New variable.
587 (PACKET_vAttach, PACKET_vRun): New constants.
588 (extended_remote_restart): Do not query for status.
589 (struct start_remote_args): New.
590 (remote_start_remote): Take it as a second argument. Check
591 whether the target is running. Issue an error for non-running
592 non-extended targets. Cache the wait status. Set inferior_ptid
593 here.
594 (remote_open_1): Prompt to disconnect non-running targets. Make
595 sure the target is marked running. Do not set inferior_ptid here.
596 Update call to remote_start_remote. Do not call remote_check_symbols
597 if the target is not running.
598 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
599 argument. Handle a non-running target.
600 (remote_detach): Use it.
601 (extended_remote_detach): New.
602 (remote_disconnect): Fix typo. Use remoute_mourn_1.
603 (extended_remote_attach_1, extended_remote_attach)
604 (extended_async_remote_attach): New.
605 (remote_vcont_resume): Remove unused variable.
606 (remote_wait, remote_async_wait): Use any cached wait status.
607 (putpkt_binary, getpkt): Clear any cached wait status.
608 (extended_remoute_mourn_1): New.
609 (extended_remote_mourn): Use it.
610 (extended_async_remote_mourn, extended_remote_run): New.
611 (extended_remote_create_inferior_1): New.
612 (extended_remote_create_inferior): Use it.
613 (extended_remote_async_create_inferior): Likewise.
614 (remote_xfer_partial): Skip for non-executing targets.
615 (init_extended_remote_ops): Set to_detach and to_attach.
616 (init_extended_async_remote_ops): Likewise. Use
617 extended_async_remote_mourn.
618 (_initialize_remote): Register vAttach, vRun, and
619 set remote exec-file.
620 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
621
e85a822c
DJ
6222008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
623
624 * Makefile.in (symfile.o): Update.
625 * NEWS: Mention exec tracing support.
626 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
627 exec events.
628 * infcmd.c (kill_if_already_running, detach_command)
629 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
630 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
631 (follow_exec): Do not check may_follow_exec. Do not mourn and push
632 targets. Apply the sysroot path to the loaded executable. Use
633 no_shared_libraries.
634 * linux-nat.c (linux_child_follow_fork): Print fork following
635 messages if verbose.
636 (kill_wait_callback): Kill again before waiting a second time.
637 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
638 no_shared_libraries.
639
9db13498
JB
6402008-01-29 Joel Brobecker <brobecker@adacore.com>
641
642 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
643
b4d5ed91
JB
6442008-01-29 Joel Brobecker <brobecker@adacore.com>
645
646 * nto-tdep.h: Remove #include "defs.h".
647 * nto-tdep.c: Add #include "defs.h".
648 * Makefile.in (nto_tdep_h): Update dependencies.
649 (nto-tdep.o): Likewise.
650
107313f7 6512008-01-29 Joel Brobecker <brobecker@adacore.com>
ae123ec6
JB
652
653 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
654 and use it.
655 (proceed, start_remote): Update call to wait_for_inferior.
656 * inferior.h (wait_for_inferior): Update declaration.
657 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
658 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
659 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
660 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
661
3f4178d6
DJ
6622008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
663
664 * varobj (adjust_value_for_child_access): Added checking for
665 returned value from gdb_value_ind.
666 (c_describe_child): Likewise.
667 (cplus_describe_child): Fixed a typo.
668
5eeba8d4
JB
6692008-01-29 Jim Blandy <jimb@red-bean.com>
670
671 * MAINTAINERS: Update my info.
672
a5606eee
VP
6732008-01-29 Vladimir Prus <vladimir@codesourcery.com>
674
675 Use multiple locations for hardware watchpoints.
676 This eliminates the need to traverse value chain, doing
677 various checks, in three different places.
678
679 * breakpoint.h (struct bp_location): New fields
680 lengths and watchpoint_type.
681 (struct breakpoint): Remove the val_chain field.
682 * breakpoint.c (is_hardware_watchpoint): New.
683 (free_valchain): Remove.
684 (update_watchpoint): New.
685 (insert_bp_location): For hardware watchpoint, just
686 directly insert it.
687 (insert_breakpoints): Call update_watchpoint_locations
688 on all watchpoints. If we have failed to insert
689 any location of a hardware watchpoint, remove all inserted
690 locations.
691 (remove_breakpoint): For hardware watchpoints, directly
692 remove location.
693 (watchpoints_triggered): Iterate over locations.
694 (bpstat_stop_status): Use only first location of
695 a resource watchpoint.
696 (delete_breakpoint): Don't call free_valchain.
697 (print_one_breakpoint): Don't print all
698 locations for watchpoints.
699 (breakpoint_re_set_one): Use update_watchpoint for
700 watchpoints.
701
0b3de036
VP
7022008-01-29 Vladimir Prus <vladimir@codesourcery.com>
703
704 Don't reset watchpoint block on solib load.
705
706 * breakpoint.c (insert_bp_location): For watchpoints,
707 recompute condition.
708 (breakpoint_re_set_one): Instead of recomputing value
709 and condition for watchpoints, just reset value and
710 let insert_breakpoints/insert_bp_location recompute it.
711 Don't do anything about disabled watchpoint.
712
c3940723
PM
7132008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
714
715 * valarith.c (value_binop): Handle unsigned integer
716 division by zero.
717
83845630
KB
7182008-01-28 Kevin Buettner <kevinb@redhat.com>
719
720 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
721 instruction pattern that appears frequently in position
722 independent code. Fix bug in code which looks for "fmov" and
723 backtracks if no "fmov" is found.
724
9ce5d3bb
DE
7252008-01-28 Doug Evans <dje@google.com>
726
727 * dbxread.c (read_dbx_symtab): Fix indentation.
131fe1bb
DE
728 Reformat comments to 80 columns.
729 Move local var def closer to only use.
9ce5d3bb 730
c78d192c
DJ
7312008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
732
733 * fork-child.c (SHELL_FILE): Remove #ifndef.
734 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
735
e11481da
PM
7362008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
737
738 * i386-tdep.c (i386_skip_noop): New function.
739 (i386_analyze_prologue): Call i386_skip_noop function.
740
244e85c8
MS
7412008-01-24 Michael Snyder <msnyder@specifix.com>
742
743 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
744 * win32-nat.c (win32_xfer_partial): Ditto.
745 * target.c (default_xfer_partial): Minor whitespace adjustment.
746
dd6be234
PA
7472008-01-24 Pedro Alves <pedro@codesourcery.com>
748
749 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
750 strip bit 1 even if pc doesn't point to thumb code.
751
9fa2223d
DJ
7522008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
753
754 * remote.c (remote_wait): Handle SIGINT between packets.
755 (remote_async_wait): Likewise.
756
93815fbf
VP
7572008-01-23 Vladimir Prus <vladimir@codesourcery.com>
758 Chris Demetriou <cgd@google.com>
759
760 * thread.c (add_thread_silent): Renamed
761 from add_thread.
762 (print_thread_events): New variable definition.
763 (show_print_thread_events): New function.
764 (_initialize_thread): Add "set print thread-events" and
765 "show print thread-events" commands.
766 (add_thread): Announce new thread.
767 * gdbthread.h (add_thread_silent): Declare.
768 (print_thread_events): New variable declaration.
769 * inf-ttrace.c (inf_ttrace_wait): Don't
770 inform about new thread, as add_thread is always
771 called too, and will take care of that.
772 * infrun.c (handle_inferior_event): Likewise.
773 * procfs.c (procfs_wait): Likewise.
774 * remote.c (remote_currthread): Likewise.
775 * sol-thread.c (sol_thread_wait): Likewise.
776 * win32-nat.c (get_win32_debug_event): Likewise.
777 * linux-thread-db.c (attach_thread): Likewise.
778 Remove the verbose parameter.
779 (check_event): Make detach_thread be verbose
780 only if print_thread_events is set.
781 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
782 about new thread. This is called only from
783 linux-thread-db.c:attach_thread, which will take care.
784 Remove the verbose parameter.
785 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
786
b4d7c9a6
NR
7872008-01-23 Nick Roberts <nickrob@snap.net.nz>
788
789 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
790
60c46647
VP
7912008-01-22 Vladimir Prus <vladimir@codesourcery.com>
792
793 * breakpoint.c (break_command_really): New parameter
794 ignore_count.
795 (break_command_1): Pass 0 as
796 ignore_count to break_command_really.
797 (gdb_breakpoint): Pass ignore_count to
798 break_command_really.
799
e84605cd
KB
8002008-01-21 Kevin Buettner <kevinb@redhat.com>
801
802 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
803 sigcontext struct via pointer.
804 (struct sigframe comment): Update to show new field `psc'.
805
9d9cd7ac
VP
8062008-01-21 Vladimir Prus <vladimir@codesourcery.com>
807
808 * infrun.c (handle_inferior_event): If
809 we failed to remove breakpoints, error,
810 don't try to increment PC by hand.
811
af5ca30d
NH
8122008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
813
814 Add NetBSD/hppa target and host support.
815
816 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
817 (hppabsd_gregset): Move to ...
818 (hppabsd_regset_from_core_section): Rename
819 hppaobsd_regset_from_core_section and move to ...
820 (hppabsd_find_global_pointer): Update comment.
821 (hppabsd_init_abi): Make global. Do not register
822 hppabsd_regset_from_core_section.
823 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
824 move to ...
825 (_initialize_hppabsd_tdep): Move to ...
826 * hppaobsd-tdep.c: ... here. New file.
827 * hppnbsd-tdep.c: New file.
828 * hppnbsd-nat.c: New file.
829 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
830 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
831 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
832 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
833 * configure.host (hppa*-*-netbsd*): New entry.
834 * configure.tgt (hppa*-*-netbsd*): New entry.
835 (hppa*-*-openbsd*): Update.
836 * NEWS (New native configuration): Mention NetBSD/hppa.
837 (New targets): Mention NetBSD/hppa.
838
32c9a795
MD
8392008-01-18 Markus Deuling <deuling@de.ibm.com>
840
841 * gdbarch.sh (function_list): Add new property bits_big_endian to
842 gdbarch structure.
843 * gdbarch.{c,h}: Regenerate.
844
845 * value.c (struct value): Replace BITS_BIG_ENDIAN by
846 gdbarch_bits_big_endian (comment).
847 (unpack_field_as_long, modify_field): Likewise.
848 * value.h: Likewise (comment).
849 * valops.c (value_slice): Likewise.
850 * valarith.c (value_subscript, value_bit_index): Likewise.
851 * gdbtypes.h (field): Likewise (comment).
852 * eval.c (evaluate_subexp_standard): Likewise.
853 * dwarf2read.c (dwarf2_add_field): Likewise.
854 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
855 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
856
857 * defs.h (BITS_BIG_ENDIAN): Remove.
858
1e5e79d0
MD
8592008-01-18 Markus Deuling <deuling@de.ibm.com>
860
861 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
862 function calls.
863 * m2-exp.y (yylex): Likewise.
864 * objc-exp.y (yylex): Likewise.
865
866 * defs.h (DEPRECATED_STREQN): Remove.
867
fabda5a7
L
8682008-01-17 H.J. Lu <hjl.tools@gmail.com>
869
870 * MAINTAINERS: Update my email address.
871
92726479
JB
8722008-01-17 Jim Blandy <jimb@codesourcery.com>
873
874 * README: Mention gdbserver/README.
875
ef80d18e
PM
8762008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
877
878 * valarith.c (value_binop): Handle BINOP_INTDIV
879 for unsigned and signed integers.
880
1de90795
UW
8812008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
882
883 * s390-tdep.c (s390_gdbarch_init): Set default long double
884 type to 128-bit IEEE quad.
885
c70bd6f3
JB
8862008-01-17 Joel Brobecker <brobecker@adacore.com>
887
888 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
889
ba759613
MK
8902008-01-16 Mark Kettenis <kettenis@gnu.org>
891
77d49ac6
MK
892 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
893
ba759613
MK
894 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
895 * value.c: All callers changed.
896
7ecb6532
MD
8972008-01-16 Markus Deuling <deuling@de.ibm.com>
898
899 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
900 DEPRECATED_STREQ by its expression.
901 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
902 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
903 (scan_xcoff_symtab): Likewise.
904 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
905 * f-lang.c (find_common_for_function): Likewise.
906 * objc-exp.y (parse_number): Likewise.
907
908 * defs.h (DEPRECATED_STREQ): Remove.
909
d15cf01c
MD
9102008-01-16 Markus Deuling <deuling@de.ibm.com>
911
912 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
913 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
914 get_frame_arch to get at the current_architecture. Update AM33_MODE
915 call.
916 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
917 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
918 architecture.
919 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
920
f8028488
MD
9212008-01-16 Markus Deuling <deuling@de.ibm.com>
922
923 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
924 parameter.
925 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
926
927 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
928 current_gdbarch by gdbarch. Update caller.
929
930 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
931 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
932 the current architecture. Update calls of
933 amd64_native_gregset_supplies_p.
934 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
935 (amd64bsd_store_inferior_registers): Likewise.
936
e101270f
MD
9372008-01-16 Markus Deuling <deuling@de.ibm.com>
938
939 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
940 Replace current_gdbarch by gdbarch. Update caller.
941
063e58ba
MD
9422008-01-16 Markus Deuling <deuling@de.ibm.com>
943
944 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
945 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
946 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
947 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
948 (stabsect_build_psymtabs): Fix indentation.
949
662fb31b
MS
9502008-01-15 Michael Snyder <msnyder@specifix.com>
951
952 * corelow.c (core_xfer_partial): Comment, cut/paste error.
953
c1766e7d
PM
9542008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
955
956 * win32-nat.c (win32_create_inferior): Restore code calling
957 CloseHandle on ProcessInformation structure.
958
5ed10e6e
NH
9592008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
960
961 * configure.ac: Check for void * as 3 argument of ptrace.
962 * configure: regenerate.
963
be8626e0
MD
9642008-01-11 Markus Deuling <deuling@de.ibm.com>
965
966 * alpha-tdep.c (alpha_heuristic_proc_start)
967 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
968 current_gdbarch by gdbarch.
969
970 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
971 current architecture by frame_info. Update alpha_heuristic_proc_start
972 call.
973
974 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
975 get_frame_arch to get at the current architecture by frame_info. Update
976 alpha_sigtramp_register_address call.
977
978 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
979 current_gdbarch by gdbarch. Update caller.
980 (convert_to_extended, convert_from_extended): Add endianess parameter
981 for comparison. Update caller.
982 (arm_extract_return_value, arm_store_return_value): Use
983 get_regcache_arch to get at the current architecture.
984
985 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
986 current_gdbarch by gdbarch. Update caller.
987 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
988 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
989
990 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
991 gdbarch as parameter. Update caller.
992 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
993 current_gdbarch by gdbarch. Update caller.
994
995 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
996 update caller. Replace current_gdbarch by gdbarch.
997
998 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
999 the current architecture. Replace current_gdbarch by gdbarch.
1000 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1001 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1002 expression. Add gdbarch as parameter and replace current_gdbarch with
1003 it. Update caller.
1004 (M6811_TDEP): Remove.
1005 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1006 architecture.
1007 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1008 current_gdbarch by gdbarch. Update caller.
1009
1010 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1011 update caller.
1012 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1013 by gdbarch.
1014
1015 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1016 caller. Relace current_gdbarch by gdbarch.
1017 (altivec_register_p, spe_register_p): Likewise.
1018 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1019 parameter.
1020 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1021 altivec_register_p and spe_register_p.
1022
1023 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1024 caller. Replace current_gdbarch by gdbarch.
1025 (score_analyze_prologue): use get_frame_arch to get at the current
1026 architecture.
1027
1028 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1029 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1030 current_gdbarch by gdbarch. Update caller.
1031 (sparc_frame_cache): Use get_frame_arch to get at the current
1032 architecture.
1033 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1034 sparc_analyze_prologue.
1035
1036 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1037 parameter.
1038
ed49a04f
MD
10392008-01-11 Markus Deuling <deuling@de.ibm.com>
1040
1041 * exec.c: #include "arch-utils.h"
1042 (print_section_info): Use gdbarch_from_bfd to get at the
1043 current architecture. Replace current_gdbarch. Fix indention. Replace
1044 deprecated_print_address_numeric by paddress.
1045 * Makefile.in (exec.o) Add dependency to arch-utils.h.
1046
1047 * valprint.c (val_print_string): Replace
1048 deprecated_print_address_numeric.
1049 * tracepoint.c (trace_mention, scope_info): Likewise.
1050 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1051 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1052 (maintenance_check_symtabs): Likewise.
1053 * symfile.c (list_overlays_command): Likewise.
1054 * stack.c (frame_info, print_block_frame_labels): Likewise.
1055 * printcmd.c (print_address, print_address_demangle)
1056 (address_info): Likewise.
1057 * corefile.c (memory_error): Likewise.
1058 * infcmd.c (jump_command): Likewise.
1059 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1060 (mention, delete_breakpoint): Likewise.
1061 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1062 * dwarf2read.c (dump_die): Likewise.
1063 * ada-valprint.c (ada_val_print_1): Likewise.
1064 * f-valprint.c (f_val_print): Likewise.
1065 * linux-fork.c (info_forks_command): Likewise.
1066 * m32r-com.c (m32r_load_section, m32r_load)
1067 (m32r_upload_command): Likewise.
1068
1069 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1070
6093d2eb
MD
10712008-01-11 Markus Deuling <deuling@de.ibm.com>
1072
1073 * gdbarch.sh (skip_prologue): Add gdbarch
1074 as parameter.
1075 * gdbarch.{c,h}: Regenerate.
1076
1077 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1078 * amd64-tdep.c (amd64_skip_prologue): Likewise.
1079 * avr-tdep.c (avr_skip_prologue): Likewise.
1080 * cris-tdep.c (cris_skip_prologue): Likewise.
1081 * frv-tdep.c (frv_skip_prologue): Likewise.
1082 * h8300-tdep.c (h8300_skip_prologue): Likewise.
1083 * hppa-tdep.c (hppa_skip_prologue): Likewise.
1084 * i386-tdep.c (i386_skip_prologue): Likewise.
1085 * ia64-tdep.c (ia64_skip_prologue): Likewise.
1086 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1087 * m32r-tdep.c (m32r_skip_prologue): Likewise.
1088 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1089 * m68k-tdep.c (m68k_skip_prologue): Likewise.
1090 * m88k-tdep.c (m88k_skip_prologue): Likewise.
1091 * mep-tdep.c (mep_skip_prologue): Likewise.
1092 * mips-tdep.c (mips_skip_prologue): Likewise.
1093 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1094 * mt-tdep.c (mt_skip_prologue): Likewise.
1095 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1096 * score-tdep.c (score_skip_prologue): Likewise.
1097 * sh64-tdep.c (sh64_skip_prologue): Likewise.
1098 * sh-tdep.c (sh_skip_prologue): Likewise.
1099 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1100 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1101 * spu-tdep.c (spu_skip_prologue): Likewise.
1102 * v850-tdep.c (v850_skip_prologue): Likewise.
1103 * vax-tdep.c (vax_skip_prologue): Likewise.
1104 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1105 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1106
1107 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1108 current_gdbarch by gdbarch.
1109 * m32c-tdep.c (m32c_skip_prologue): Likewise.
1110 * s390-tdep.c (s390_skip_prologue): Likewise.
1111
72f5cf0e
DE
11122008-01-10 Doug Evans <dje@google.com>
1113
1114 * defs.h (struct continuation_arg): Fix typo in comment.
1115 * target.c (target_translate_tls_address): Fix comment spelling error.
1116
689e4e2d
TJB
11172008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
1118
1119 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1120 (DOUBLEST_SCAN_FORMAT): Likewise.
1121 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1122 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1123 * c-exp.y (parse_number): Likewise.
1124 * jv-exp.y (parse_number): Likewise.
1125 * objc-exp.y (parse_number): Likewise.
1126 * p-exp.y (parse_number): Likewise.
1127
ab0d6e0d
JB
11282008-01-09 Joel Brobecker <brobecker@adacore.com>
1129
1130 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1131 (check_typedef): Likewise.
1132
0aea4bf3
LM
11332008-01-09 Luis Machado <luisgpm@br.ibm.com>
1134
1135 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1136 seen_double_big_d, treat the new H, D, and DD modifiers as length
1137 modifiers.
1138
137033e9
JB
11392008-01-08 Joel Brobecker <brobecker@adacore.com>
1140
1141 * dwarf2read.c (read_enumeration_type): Add comment.
1142
dda297ec
TJB
11432008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
1144
1145 * config.in: Regenerate.
1146
a93c0eb6
JB
11472008-01-08 Joel Brobecker <brobecker@adacore.com>
1148
1149 * ada-lang.c (ada_convert_actual): Renames convert_actual.
1150 Make non-static.
1151 (ada_convert_actuals): Delete.
1152 * ada-lang.h (ada_convert_actual): Add declaration.
1153 (ada_convert_actuals): Remove declaration.
1154 * infcall.c: #include "ada-lang.h".
1155 (value_arg_coerce): Add new parameter sp. Update function
1156 documetnation. Add handling of Ada function call parameters.
1157 * Makefile.in (infcall.o): Update dependencies.
1158
a84a8a0d
JB
11592008-01-08 Paul Hilfinger <hilfinger@adacore.com>
1160
1161 * ada-lang.c (ensure_lval): Fix value lval kind.
1162 (convert_actual): Add handling for arguments passed by reference.
1163
d7f98cce
DE
11642008-01-08 Doug Evans <dje@google.com>
1165
1166 * dbxread.c (read_dbx_symtab): Fix indentation.
1167
4ef30785
TJB
11682008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1169
1170 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1171 (valarith.o): Depend on dfp.h.
1172 (valops.o): Likewise.
1173 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1174 (set_decnumber_context): New function.
1175 (decimal_check_errors): Likewise.
1176 (decimal_from_number): Likewise.
1177 (decimal_to_number): Likewise.
1178 (decimal_from_string): Use set_decnumber_context and
1179 decimal_check_errors.
1180 (decimal_from_integral): New function.
1181 (decimal_from_floating): Likewise.
1182 (decimal_to_double): Likewise.
1183 (promote_decimal): Likewise.
1184 (decimal_binop): Likewise.
1185 (decimal_is_zero): Likewise.
1186 (decimal_compare): Likewise.
1187 (decimal_convert): Likewise.
1188 * dfp.h (decimal_from_integral): New prototype.
1189 (decimal_from_floating): Likewise.
1190 (decimal_to_double): Likewise.
1191 (decimal_binop): Likewise.
1192 (decimal_is_zero): Likewise.
1193 (decimal_compare): Likewise.
1194 (decimal_convert): Likewise.
1195 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1196 call to value_from_decfloat.
1197 * valarith.c: Include dfp.h.
1198 (value_args_as_decimal): New function.
1199 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1200 (value_logical_not): Likewise.
1201 (value_equal): Likewise.
1202 (value_less): Likewise.
1203 (value_pos): Likewise.
1204 (value_neg): Formatting fix.
1205 * valops.c: Include dfp.h.
1206 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1207 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1208 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1209 (value_from_decfloat): Remove expect_type argument.
1210 * value.h (value_from_decfloat): Update prototype.
1211
a7c02bc8
VP
12122008-01-07 Vladimir Prus <vladimir@codesourcery.com>
1213
1214 Ignore change in name of dynamic linker during
1215 execution on Solaris. This also unbreaks pending breakpoints.
1216
1217 * solist.h (struct target_so_ops): New field same.
1218 * solib-svr4.c (svr4_same): New.
1219 (_initialize_svr4_solib): Register svr4_same.
1220 * solib.c (update_solib_list): Use ops->same, if available.
1221
610dd7f9
CF
12222008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
1223
1224 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1225 when using MS-DOS paths.
1226
7a404eba
PA
12272008-01-05 Pedro Alves <pedro@codesourcery.com>
1228
1229 * NEWS: Mention --pid and --core command line behaviour changes.
1230
a4d9b460
PA
12312008-01-05 Pedro Alves <pedro@codesourcery.com>
1232
1233 * main.c (captured_main): Remove 'count' varible and the
1234 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
1235 --pid options were issued simultaneously. If an explicit pid
1236 option was passed, don't fallback to core file. Detect extra
1237 arguments better in the presence of explicit pid or core
1238 arguments.
1239
0c281816
JB
12402008-01-05 Joel Brobecker <brobecker@adacore.com>
1241
1242 * ada-lang.c (ada_which_variant_applies): Correctly compute
1243 the value of the discriminant when the variant record is packed.
1244
babe1480
JB
12452008-01-04 Joel Brobecker <brobecker@adacore.com>
1246
1247 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1248 that are used to differentiate homonyms.
1249
727e3d2e
JB
12502008-01-04 Jerome Guitton <guitton@adacore.com>
1251
1252 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1253 when the type is an anonymous pointer type.
1254 (ada_check_typedef): Avoid a seg fault when the type is null.
1255 * ada-typeprint.c (print_array_type): Add support for pointer
1256 to packed arrays.
1257
bb28a9dc
JB
12582008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
1259
1260 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1261
6799def4
JB
12622008-01-04 Joel Brobecker <brobecker@adacore.com>
1263
1264 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1265 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1266
d3353bbd
JB
12672008-01-04 Joel Brobecker <brobecker@adacore.com>
1268
1269 * ada-exp.y (chop_separator): New function.
1270 (write_selectors): Rewrite to re-use chop_separator.
1271 (ada_nget_field_index, get_symbol_field_type): New functions.
1272 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1273 expressions.
1274
82cf6c60
TJB
12752008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
1276
1277 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1278 of SYMBOL_VALUE when working with function symbols.
1279
b3dbf008
JB
12802008-01-03 Joel Brobecker <brobecker@adacore.com>
1281
1282 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1283 expressions. These expressions do not need to be rewriten.
1284
02eb380e
JB
12852008-01-03 Joel Brobecker <brobecker@adacore.com>
1286
1287 * dwarf2read.c (read_enumeration_type): Flag type as stub if
1288 the given die is a declaration.
1289
abb68b3e
JB
12902008-01-03 Joel Brobecker <brobecker@adacore.com>
1291
1292 * ada-lang.c (ada_array_bound_from_type): Make non-static.
1293 Handle properly the case when the index type is an enumerated type.
1294 Do not return the subtype of the bounds type, just return the
1295 bounds type directly - this is not needed and is more consistent
1296 with what we do for arrays when no XA parallel type exists.
1297
f192137b
JB
12982008-01-03 Joel Brobecker <brobecker@adacore.com>
1299
1300 * ada-lang.c (static_unwrap_type): Add forward declaration.
1301 (template_to_static_fixed_type): Fields of dynamic types sometimes
1302 also need to be unwrapped. Take this into account.
1303 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1304 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1305 * ada-typeprint.c (ada_print_type): Get the typename from
1306 the original type, not the base type.
1307
1ed6ede0
JB
13082008-01-03 Jerome Guitton <guitton@adacore.com>
1309
1310 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1311 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1312 Update calls to ada_to_fixed_type.
1313 (ada_template_to_fixed_record_type_1): Ditto, but without looking
1314 for the tag.
1315 (ada_to_fixed_type): Add check_tag parameter; do not look for
1316 tag if null. When looking for a tag, use a fixed record type.
1317 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1318 * ada-valprint.c (printable_val_type, ada_value_print): Update
1319 calls to ada_to_fixed_type.
1320
542a88d0
LM
13212008-01-03 Luis Machado <luisgpm@br.ibm.com>
1322
1323 * doublest.c (convert_floatformat_to_doublest): Call
1324 floatformat_to_doublest instead of floatformat_to_double and use
1325 DOUBLEST variables.
1326 (convert_doublest_to_floatformat): Call floatformat_from_doublest
1327 instead of floatformat_from_double and use DOUBLEST variables.
1328
dc2bbab2
NH
13292008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
1330
1331 * MAINTAINERS (Write After Approval): Add self.
1332
8b60591b
JB
13332008-01-03 Joel Brobecker <brobecker@adacore.com>
1334
1335 * symfile.c (set_initial_language): Make non-static.
1336 * symfile.h (set_initial_language): Add declaration.
1337 * language.c: #include "symfile.h".
1338 (set_language): Call set_initial_language if the frame language
1339 could not be determined.
1340
ceef53c1
JB
13412008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
1342
1343 * eval.c (evaluate_subexp_for_address): Provide frame address to
1344 locate_var_value only if it will be needed.
1345
ef29ce1a
JK
13462008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1347
1348 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1349
0a07e705
JB
13502008-01-02 Joel Brobecker <brobecker@adacore.com>
1351
1352 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1353 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1354 This is needed to make sure that any other treatment applied
1355 to the resulting value does not fail for spurious reason,
1356 such as trying to take the address of this value.
1357
f58b38bf
JB
13582008-01-02 Joel Brobecker <brobecker@adacore.com>
1359
1360 * ada-lang.c (ada_value_equal): Dereference reference types when
1361 comparing arrays.
1362
9b254dd1
DJ
13632008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
1364
1365 Updated copyright notices for most files.
1366
33605d39
CF
13672008-01-01 Christopher Faylor <me+gdb@cgf.cx>
1368
1369 * win32-nat.c (psapi_module_handle): Remove static.
1370 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
1371 return first module found if base_address is zero. Don't initialize
1372 psapi function pointers here. Convert to cygwin paths when
1373 appropriate.
1374 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1375 executable name. Use get_module_name when that fails or when
1376 !__CYGWIN__.
1377 (_initialize_psapi): New function. Initialize psapi stuff before it is
1378 needed or issue a warning if it is not found. Move psapi_module_handle
1379 here.
1380
29480c32
JB
13812008-01-01 Joel Brobecker <brobecker@adacore.com>
1382
1383 * ada-lang.c (ada_remove_trailing_digits): New function.
1384 (ada_remove_po_subprogram_suffix): New function.
1385 (ada_decode): Improve. Move the description of the algorithm
1386 directly inside the code, instead of in the function global
1387 description.
1388
969a1360
JB
13892008-01-01 Joel Brobecker <brobecker@adacore.com>
1390
1391 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1392 and always print the dereferenced value.
1393
b7789565
JB
13942008-01-01 Joel Brobecker <brobecker@adacore.com>
1395
1396 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1397 of the case where the first argument is a reference.
1398 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1399
73fb9985
JB
14002008-01-01 Joel Brobecker <brobecker@adacore.com>
1401
1402 Implement support for Ada interface types.
1403
1404 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1405 (ada_is_ignored_field): Ignore fields that are a dispatch table
1406 of a tagged type.
1407
636265b6
JB
14082008-01-01 Joel Brobecker <brobecker@adacore.com>
1409
1410 * top.c (print_gdb_version): Update copyright year.
1411
9d200a2e 14122008-01-01 Joel Brobecker <brobecker@adacore.com>
b7589f7d 1413
9d200a2e
JB
1414 * ChangeLog-2007: New ChangeLog rotation.
1415 * ChangeLog: Reset for 2008.
1416 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1417 ChangeLog-2007.
b7589f7d 1418
9d200a2e 1419For older changes see ChangeLog-2007.
c906108c
SS
1420\f
1421Local Variables:
1422mode: change-log
1423left-margin: 8
1424fill-column: 74
1425version-control: never
57da7796 1426coding: utf-8
c906108c 1427End:
This page took 0.944719 seconds and 4 git commands to generate.