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