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