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