* ppc-opc.c: Support optional L form mtmsr.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
83845630
KB
12008-01-28 Kevin Buettner <kevinb@redhat.com>
2
3 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
4 instruction pattern that appears frequently in position
5 independent code. Fix bug in code which looks for "fmov" and
6 backtracks if no "fmov" is found.
7
9ce5d3bb
DE
82008-01-28 Doug Evans <dje@google.com>
9
10 * dbxread.c (read_dbx_symtab): Fix indentation.
131fe1bb
DE
11 Reformat comments to 80 columns.
12 Move local var def closer to only use.
9ce5d3bb 13
c78d192c
DJ
142008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
15
16 * fork-child.c (SHELL_FILE): Remove #ifndef.
17 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
18
e11481da
PM
192008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
20
21 * i386-tdep.c (i386_skip_noop): New function.
22 (i386_analyze_prologue): Call i386_skip_noop function.
23
244e85c8
MS
242008-01-24 Michael Snyder <msnyder@specifix.com>
25
26 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
27 * win32-nat.c (win32_xfer_partial): Ditto.
28 * target.c (default_xfer_partial): Minor whitespace adjustment.
29
dd6be234
PA
302008-01-24 Pedro Alves <pedro@codesourcery.com>
31
32 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
33 strip bit 1 even if pc doesn't point to thumb code.
34
9fa2223d
DJ
352008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
36
37 * remote.c (remote_wait): Handle SIGINT between packets.
38 (remote_async_wait): Likewise.
39
93815fbf
VP
402008-01-23 Vladimir Prus <vladimir@codesourcery.com>
41 Chris Demetriou <cgd@google.com>
42
43 * thread.c (add_thread_silent): Renamed
44 from add_thread.
45 (print_thread_events): New variable definition.
46 (show_print_thread_events): New function.
47 (_initialize_thread): Add "set print thread-events" and
48 "show print thread-events" commands.
49 (add_thread): Announce new thread.
50 * gdbthread.h (add_thread_silent): Declare.
51 (print_thread_events): New variable declaration.
52 * inf-ttrace.c (inf_ttrace_wait): Don't
53 inform about new thread, as add_thread is always
54 called too, and will take care of that.
55 * infrun.c (handle_inferior_event): Likewise.
56 * procfs.c (procfs_wait): Likewise.
57 * remote.c (remote_currthread): Likewise.
58 * sol-thread.c (sol_thread_wait): Likewise.
59 * win32-nat.c (get_win32_debug_event): Likewise.
60 * linux-thread-db.c (attach_thread): Likewise.
61 Remove the verbose parameter.
62 (check_event): Make detach_thread be verbose
63 only if print_thread_events is set.
64 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
65 about new thread. This is called only from
66 linux-thread-db.c:attach_thread, which will take care.
67 Remove the verbose parameter.
68 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
69
b4d7c9a6
NR
702008-01-23 Nick Roberts <nickrob@snap.net.nz>
71
72 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
73
60c46647
VP
742008-01-22 Vladimir Prus <vladimir@codesourcery.com>
75
76 * breakpoint.c (break_command_really): New parameter
77 ignore_count.
78 (break_command_1): Pass 0 as
79 ignore_count to break_command_really.
80 (gdb_breakpoint): Pass ignore_count to
81 break_command_really.
82
e84605cd
KB
832008-01-21 Kevin Buettner <kevinb@redhat.com>
84
85 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
86 sigcontext struct via pointer.
87 (struct sigframe comment): Update to show new field `psc'.
88
9d9cd7ac
VP
892008-01-21 Vladimir Prus <vladimir@codesourcery.com>
90
91 * infrun.c (handle_inferior_event): If
92 we failed to remove breakpoints, error,
93 don't try to increment PC by hand.
94
af5ca30d
NH
952008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
96
97 Add NetBSD/hppa target and host support.
98
99 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
100 (hppabsd_gregset): Move to ...
101 (hppabsd_regset_from_core_section): Rename
102 hppaobsd_regset_from_core_section and move to ...
103 (hppabsd_find_global_pointer): Update comment.
104 (hppabsd_init_abi): Make global. Do not register
105 hppabsd_regset_from_core_section.
106 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
107 move to ...
108 (_initialize_hppabsd_tdep): Move to ...
109 * hppaobsd-tdep.c: ... here. New file.
110 * hppnbsd-tdep.c: New file.
111 * hppnbsd-nat.c: New file.
112 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
113 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
114 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
115 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
116 * configure.host (hppa*-*-netbsd*): New entry.
117 * configure.tgt (hppa*-*-netbsd*): New entry.
118 (hppa*-*-openbsd*): Update.
119 * NEWS (New native configuration): Mention NetBSD/hppa.
120 (New targets): Mention NetBSD/hppa.
121
32c9a795
MD
1222008-01-18 Markus Deuling <deuling@de.ibm.com>
123
124 * gdbarch.sh (function_list): Add new property bits_big_endian to
125 gdbarch structure.
126 * gdbarch.{c,h}: Regenerate.
127
128 * value.c (struct value): Replace BITS_BIG_ENDIAN by
129 gdbarch_bits_big_endian (comment).
130 (unpack_field_as_long, modify_field): Likewise.
131 * value.h: Likewise (comment).
132 * valops.c (value_slice): Likewise.
133 * valarith.c (value_subscript, value_bit_index): Likewise.
134 * gdbtypes.h (field): Likewise (comment).
135 * eval.c (evaluate_subexp_standard): Likewise.
136 * dwarf2read.c (dwarf2_add_field): Likewise.
137 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
138 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
139
140 * defs.h (BITS_BIG_ENDIAN): Remove.
141
1e5e79d0
MD
1422008-01-18 Markus Deuling <deuling@de.ibm.com>
143
144 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
145 function calls.
146 * m2-exp.y (yylex): Likewise.
147 * objc-exp.y (yylex): Likewise.
148
149 * defs.h (DEPRECATED_STREQN): Remove.
150
fabda5a7
L
1512008-01-17 H.J. Lu <hjl.tools@gmail.com>
152
153 * MAINTAINERS: Update my email address.
154
92726479
JB
1552008-01-17 Jim Blandy <jimb@codesourcery.com>
156
157 * README: Mention gdbserver/README.
158
ef80d18e
PM
1592008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
160
161 * valarith.c (value_binop): Handle BINOP_INTDIV
162 for unsigned and signed integers.
163
1de90795
UW
1642008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
165
166 * s390-tdep.c (s390_gdbarch_init): Set default long double
167 type to 128-bit IEEE quad.
168
c70bd6f3
JB
1692008-01-17 Joel Brobecker <brobecker@adacore.com>
170
171 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
172
ba759613
MK
1732008-01-16 Mark Kettenis <kettenis@gnu.org>
174
77d49ac6
MK
175 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
176
ba759613
MK
177 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
178 * value.c: All callers changed.
179
7ecb6532
MD
1802008-01-16 Markus Deuling <deuling@de.ibm.com>
181
182 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
183 DEPRECATED_STREQ by its expression.
184 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
185 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
186 (scan_xcoff_symtab): Likewise.
187 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
188 * f-lang.c (find_common_for_function): Likewise.
189 * objc-exp.y (parse_number): Likewise.
190
191 * defs.h (DEPRECATED_STREQ): Remove.
192
d15cf01c
MD
1932008-01-16 Markus Deuling <deuling@de.ibm.com>
194
195 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
196 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
197 get_frame_arch to get at the current_architecture. Update AM33_MODE
198 call.
199 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
200 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
201 architecture.
202 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
203
f8028488
MD
2042008-01-16 Markus Deuling <deuling@de.ibm.com>
205
206 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
207 parameter.
208 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
209
210 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
211 current_gdbarch by gdbarch. Update caller.
212
213 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
214 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
215 the current architecture. Update calls of
216 amd64_native_gregset_supplies_p.
217 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
218 (amd64bsd_store_inferior_registers): Likewise.
219
e101270f
MD
2202008-01-16 Markus Deuling <deuling@de.ibm.com>
221
222 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
223 Replace current_gdbarch by gdbarch. Update caller.
224
063e58ba
MD
2252008-01-16 Markus Deuling <deuling@de.ibm.com>
226
227 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
228 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
229 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
230 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
231 (stabsect_build_psymtabs): Fix indentation.
232
662fb31b
MS
2332008-01-15 Michael Snyder <msnyder@specifix.com>
234
235 * corelow.c (core_xfer_partial): Comment, cut/paste error.
236
c1766e7d
PM
2372008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
238
239 * win32-nat.c (win32_create_inferior): Restore code calling
240 CloseHandle on ProcessInformation structure.
241
5ed10e6e
NH
2422008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
243
244 * configure.ac: Check for void * as 3 argument of ptrace.
245 * configure: regenerate.
246
be8626e0
MD
2472008-01-11 Markus Deuling <deuling@de.ibm.com>
248
249 * alpha-tdep.c (alpha_heuristic_proc_start)
250 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
251 current_gdbarch by gdbarch.
252
253 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
254 current architecture by frame_info. Update alpha_heuristic_proc_start
255 call.
256
257 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
258 get_frame_arch to get at the current architecture by frame_info. Update
259 alpha_sigtramp_register_address call.
260
261 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
262 current_gdbarch by gdbarch. Update caller.
263 (convert_to_extended, convert_from_extended): Add endianess parameter
264 for comparison. Update caller.
265 (arm_extract_return_value, arm_store_return_value): Use
266 get_regcache_arch to get at the current architecture.
267
268 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
269 current_gdbarch by gdbarch. Update caller.
270 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
271 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
272
273 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
274 gdbarch as parameter. Update caller.
275 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
276 current_gdbarch by gdbarch. Update caller.
277
278 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
279 update caller. Replace current_gdbarch by gdbarch.
280
281 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
282 the current architecture. Replace current_gdbarch by gdbarch.
283 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
284 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
285 expression. Add gdbarch as parameter and replace current_gdbarch with
286 it. Update caller.
287 (M6811_TDEP): Remove.
288 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
289 architecture.
290 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
291 current_gdbarch by gdbarch. Update caller.
292
293 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
294 update caller.
295 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
296 by gdbarch.
297
298 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
299 caller. Relace current_gdbarch by gdbarch.
300 (altivec_register_p, spe_register_p): Likewise.
301 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
302 parameter.
303 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
304 altivec_register_p and spe_register_p.
305
306 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
307 caller. Replace current_gdbarch by gdbarch.
308 (score_analyze_prologue): use get_frame_arch to get at the current
309 architecture.
310
311 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
312 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
313 current_gdbarch by gdbarch. Update caller.
314 (sparc_frame_cache): Use get_frame_arch to get at the current
315 architecture.
316 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
317 sparc_analyze_prologue.
318
319 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
320 parameter.
321
ed49a04f
MD
3222008-01-11 Markus Deuling <deuling@de.ibm.com>
323
324 * exec.c: #include "arch-utils.h"
325 (print_section_info): Use gdbarch_from_bfd to get at the
326 current architecture. Replace current_gdbarch. Fix indention. Replace
327 deprecated_print_address_numeric by paddress.
328 * Makefile.in (exec.o) Add dependency to arch-utils.h.
329
330 * valprint.c (val_print_string): Replace
331 deprecated_print_address_numeric.
332 * tracepoint.c (trace_mention, scope_info): Likewise.
333 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
334 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
335 (maintenance_check_symtabs): Likewise.
336 * symfile.c (list_overlays_command): Likewise.
337 * stack.c (frame_info, print_block_frame_labels): Likewise.
338 * printcmd.c (print_address, print_address_demangle)
339 (address_info): Likewise.
340 * corefile.c (memory_error): Likewise.
341 * infcmd.c (jump_command): Likewise.
342 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
343 (mention, delete_breakpoint): Likewise.
344 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
345 * dwarf2read.c (dump_die): Likewise.
346 * ada-valprint.c (ada_val_print_1): Likewise.
347 * f-valprint.c (f_val_print): Likewise.
348 * linux-fork.c (info_forks_command): Likewise.
349 * m32r-com.c (m32r_load_section, m32r_load)
350 (m32r_upload_command): Likewise.
351
352 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
353
6093d2eb
MD
3542008-01-11 Markus Deuling <deuling@de.ibm.com>
355
356 * gdbarch.sh (skip_prologue): Add gdbarch
357 as parameter.
358 * gdbarch.{c,h}: Regenerate.
359
360 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
361 * amd64-tdep.c (amd64_skip_prologue): Likewise.
362 * avr-tdep.c (avr_skip_prologue): Likewise.
363 * cris-tdep.c (cris_skip_prologue): Likewise.
364 * frv-tdep.c (frv_skip_prologue): Likewise.
365 * h8300-tdep.c (h8300_skip_prologue): Likewise.
366 * hppa-tdep.c (hppa_skip_prologue): Likewise.
367 * i386-tdep.c (i386_skip_prologue): Likewise.
368 * ia64-tdep.c (ia64_skip_prologue): Likewise.
369 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
370 * m32r-tdep.c (m32r_skip_prologue): Likewise.
371 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
372 * m68k-tdep.c (m68k_skip_prologue): Likewise.
373 * m88k-tdep.c (m88k_skip_prologue): Likewise.
374 * mep-tdep.c (mep_skip_prologue): Likewise.
375 * mips-tdep.c (mips_skip_prologue): Likewise.
376 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
377 * mt-tdep.c (mt_skip_prologue): Likewise.
378 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
379 * score-tdep.c (score_skip_prologue): Likewise.
380 * sh64-tdep.c (sh64_skip_prologue): Likewise.
381 * sh-tdep.c (sh_skip_prologue): Likewise.
382 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
383 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
384 * spu-tdep.c (spu_skip_prologue): Likewise.
385 * v850-tdep.c (v850_skip_prologue): Likewise.
386 * vax-tdep.c (vax_skip_prologue): Likewise.
387 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
388 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
389
390 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
391 current_gdbarch by gdbarch.
392 * m32c-tdep.c (m32c_skip_prologue): Likewise.
393 * s390-tdep.c (s390_skip_prologue): Likewise.
394
72f5cf0e
DE
3952008-01-10 Doug Evans <dje@google.com>
396
397 * defs.h (struct continuation_arg): Fix typo in comment.
398 * target.c (target_translate_tls_address): Fix comment spelling error.
399
689e4e2d
TJB
4002008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
401
402 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
403 (DOUBLEST_SCAN_FORMAT): Likewise.
404 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
405 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
406 * c-exp.y (parse_number): Likewise.
407 * jv-exp.y (parse_number): Likewise.
408 * objc-exp.y (parse_number): Likewise.
409 * p-exp.y (parse_number): Likewise.
410
ab0d6e0d
JB
4112008-01-09 Joel Brobecker <brobecker@adacore.com>
412
413 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
414 (check_typedef): Likewise.
415
0aea4bf3
LM
4162008-01-09 Luis Machado <luisgpm@br.ibm.com>
417
418 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
419 seen_double_big_d, treat the new H, D, and DD modifiers as length
420 modifiers.
421
137033e9
JB
4222008-01-08 Joel Brobecker <brobecker@adacore.com>
423
424 * dwarf2read.c (read_enumeration_type): Add comment.
425
dda297ec
TJB
4262008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
427
428 * config.in: Regenerate.
429
a93c0eb6
JB
4302008-01-08 Joel Brobecker <brobecker@adacore.com>
431
432 * ada-lang.c (ada_convert_actual): Renames convert_actual.
433 Make non-static.
434 (ada_convert_actuals): Delete.
435 * ada-lang.h (ada_convert_actual): Add declaration.
436 (ada_convert_actuals): Remove declaration.
437 * infcall.c: #include "ada-lang.h".
438 (value_arg_coerce): Add new parameter sp. Update function
439 documetnation. Add handling of Ada function call parameters.
440 * Makefile.in (infcall.o): Update dependencies.
441
a84a8a0d
JB
4422008-01-08 Paul Hilfinger <hilfinger@adacore.com>
443
444 * ada-lang.c (ensure_lval): Fix value lval kind.
445 (convert_actual): Add handling for arguments passed by reference.
446
d7f98cce
DE
4472008-01-08 Doug Evans <dje@google.com>
448
449 * dbxread.c (read_dbx_symtab): Fix indentation.
450
4ef30785
TJB
4512008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
452
453 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
454 (valarith.o): Depend on dfp.h.
455 (valops.o): Likewise.
456 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
457 (set_decnumber_context): New function.
458 (decimal_check_errors): Likewise.
459 (decimal_from_number): Likewise.
460 (decimal_to_number): Likewise.
461 (decimal_from_string): Use set_decnumber_context and
462 decimal_check_errors.
463 (decimal_from_integral): New function.
464 (decimal_from_floating): Likewise.
465 (decimal_to_double): Likewise.
466 (promote_decimal): Likewise.
467 (decimal_binop): Likewise.
468 (decimal_is_zero): Likewise.
469 (decimal_compare): Likewise.
470 (decimal_convert): Likewise.
471 * dfp.h (decimal_from_integral): New prototype.
472 (decimal_from_floating): Likewise.
473 (decimal_to_double): Likewise.
474 (decimal_binop): Likewise.
475 (decimal_is_zero): Likewise.
476 (decimal_compare): Likewise.
477 (decimal_convert): Likewise.
478 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
479 call to value_from_decfloat.
480 * valarith.c: Include dfp.h.
481 (value_args_as_decimal): New function.
482 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
483 (value_logical_not): Likewise.
484 (value_equal): Likewise.
485 (value_less): Likewise.
486 (value_pos): Likewise.
487 (value_neg): Formatting fix.
488 * valops.c: Include dfp.h.
489 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
490 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
491 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
492 (value_from_decfloat): Remove expect_type argument.
493 * value.h (value_from_decfloat): Update prototype.
494
a7c02bc8
VP
4952008-01-07 Vladimir Prus <vladimir@codesourcery.com>
496
497 Ignore change in name of dynamic linker during
498 execution on Solaris. This also unbreaks pending breakpoints.
499
500 * solist.h (struct target_so_ops): New field same.
501 * solib-svr4.c (svr4_same): New.
502 (_initialize_svr4_solib): Register svr4_same.
503 * solib.c (update_solib_list): Use ops->same, if available.
504
610dd7f9
CF
5052008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
506
507 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
508 when using MS-DOS paths.
509
7a404eba
PA
5102008-01-05 Pedro Alves <pedro@codesourcery.com>
511
512 * NEWS: Mention --pid and --core command line behaviour changes.
513
a4d9b460
PA
5142008-01-05 Pedro Alves <pedro@codesourcery.com>
515
516 * main.c (captured_main): Remove 'count' varible and the
517 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
518 --pid options were issued simultaneously. If an explicit pid
519 option was passed, don't fallback to core file. Detect extra
520 arguments better in the presence of explicit pid or core
521 arguments.
522
0c281816
JB
5232008-01-05 Joel Brobecker <brobecker@adacore.com>
524
525 * ada-lang.c (ada_which_variant_applies): Correctly compute
526 the value of the discriminant when the variant record is packed.
527
babe1480
JB
5282008-01-04 Joel Brobecker <brobecker@adacore.com>
529
530 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
531 that are used to differentiate homonyms.
532
727e3d2e
JB
5332008-01-04 Jerome Guitton <guitton@adacore.com>
534
535 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
536 when the type is an anonymous pointer type.
537 (ada_check_typedef): Avoid a seg fault when the type is null.
538 * ada-typeprint.c (print_array_type): Add support for pointer
539 to packed arrays.
540
bb28a9dc
JB
5412008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
542
543 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
544
6799def4
JB
5452008-01-04 Joel Brobecker <brobecker@adacore.com>
546
547 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
548 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
549
d3353bbd
JB
5502008-01-04 Joel Brobecker <brobecker@adacore.com>
551
552 * ada-exp.y (chop_separator): New function.
553 (write_selectors): Rewrite to re-use chop_separator.
554 (ada_nget_field_index, get_symbol_field_type): New functions.
555 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
556 expressions.
557
82cf6c60
TJB
5582008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
559
560 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
561 of SYMBOL_VALUE when working with function symbols.
562
b3dbf008
JB
5632008-01-03 Joel Brobecker <brobecker@adacore.com>
564
565 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
566 expressions. These expressions do not need to be rewriten.
567
02eb380e
JB
5682008-01-03 Joel Brobecker <brobecker@adacore.com>
569
570 * dwarf2read.c (read_enumeration_type): Flag type as stub if
571 the given die is a declaration.
572
abb68b3e
JB
5732008-01-03 Joel Brobecker <brobecker@adacore.com>
574
575 * ada-lang.c (ada_array_bound_from_type): Make non-static.
576 Handle properly the case when the index type is an enumerated type.
577 Do not return the subtype of the bounds type, just return the
578 bounds type directly - this is not needed and is more consistent
579 with what we do for arrays when no XA parallel type exists.
580
f192137b
JB
5812008-01-03 Joel Brobecker <brobecker@adacore.com>
582
583 * ada-lang.c (static_unwrap_type): Add forward declaration.
584 (template_to_static_fixed_type): Fields of dynamic types sometimes
585 also need to be unwrapped. Take this into account.
586 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
587 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
588 * ada-typeprint.c (ada_print_type): Get the typename from
589 the original type, not the base type.
590
1ed6ede0
JB
5912008-01-03 Jerome Guitton <guitton@adacore.com>
592
593 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
594 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
595 Update calls to ada_to_fixed_type.
596 (ada_template_to_fixed_record_type_1): Ditto, but without looking
597 for the tag.
598 (ada_to_fixed_type): Add check_tag parameter; do not look for
599 tag if null. When looking for a tag, use a fixed record type.
600 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
601 * ada-valprint.c (printable_val_type, ada_value_print): Update
602 calls to ada_to_fixed_type.
603
542a88d0
LM
6042008-01-03 Luis Machado <luisgpm@br.ibm.com>
605
606 * doublest.c (convert_floatformat_to_doublest): Call
607 floatformat_to_doublest instead of floatformat_to_double and use
608 DOUBLEST variables.
609 (convert_doublest_to_floatformat): Call floatformat_from_doublest
610 instead of floatformat_from_double and use DOUBLEST variables.
611
dc2bbab2
NH
6122008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
613
614 * MAINTAINERS (Write After Approval): Add self.
615
8b60591b
JB
6162008-01-03 Joel Brobecker <brobecker@adacore.com>
617
618 * symfile.c (set_initial_language): Make non-static.
619 * symfile.h (set_initial_language): Add declaration.
620 * language.c: #include "symfile.h".
621 (set_language): Call set_initial_language if the frame language
622 could not be determined.
623
ceef53c1
JB
6242008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
625
626 * eval.c (evaluate_subexp_for_address): Provide frame address to
627 locate_var_value only if it will be needed.
628
ef29ce1a
JK
6292008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
630
631 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
632
0a07e705
JB
6332008-01-02 Joel Brobecker <brobecker@adacore.com>
634
635 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
636 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
637 This is needed to make sure that any other treatment applied
638 to the resulting value does not fail for spurious reason,
639 such as trying to take the address of this value.
640
f58b38bf
JB
6412008-01-02 Joel Brobecker <brobecker@adacore.com>
642
643 * ada-lang.c (ada_value_equal): Dereference reference types when
644 comparing arrays.
645
9b254dd1
DJ
6462008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
647
648 Updated copyright notices for most files.
649
33605d39
CF
6502008-01-01 Christopher Faylor <me+gdb@cgf.cx>
651
652 * win32-nat.c (psapi_module_handle): Remove static.
653 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
654 return first module found if base_address is zero. Don't initialize
655 psapi function pointers here. Convert to cygwin paths when
656 appropriate.
657 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
658 executable name. Use get_module_name when that fails or when
659 !__CYGWIN__.
660 (_initialize_psapi): New function. Initialize psapi stuff before it is
661 needed or issue a warning if it is not found. Move psapi_module_handle
662 here.
663
29480c32
JB
6642008-01-01 Joel Brobecker <brobecker@adacore.com>
665
666 * ada-lang.c (ada_remove_trailing_digits): New function.
667 (ada_remove_po_subprogram_suffix): New function.
668 (ada_decode): Improve. Move the description of the algorithm
669 directly inside the code, instead of in the function global
670 description.
671
969a1360
JB
6722008-01-01 Joel Brobecker <brobecker@adacore.com>
673
674 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
675 and always print the dereferenced value.
676
b7789565
JB
6772008-01-01 Joel Brobecker <brobecker@adacore.com>
678
679 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
680 of the case where the first argument is a reference.
681 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
682
73fb9985
JB
6832008-01-01 Joel Brobecker <brobecker@adacore.com>
684
685 Implement support for Ada interface types.
686
687 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
688 (ada_is_ignored_field): Ignore fields that are a dispatch table
689 of a tagged type.
690
636265b6
JB
6912008-01-01 Joel Brobecker <brobecker@adacore.com>
692
693 * top.c (print_gdb_version): Update copyright year.
694
9d200a2e 6952008-01-01 Joel Brobecker <brobecker@adacore.com>
b7589f7d 696
9d200a2e
JB
697 * ChangeLog-2007: New ChangeLog rotation.
698 * ChangeLog: Reset for 2008.
699 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
700 ChangeLog-2007.
b7589f7d 701
9d200a2e 702For older changes see ChangeLog-2007.
c906108c
SS
703\f
704Local Variables:
705mode: change-log
706left-margin: 8
707fill-column: 74
708version-control: never
57da7796 709coding: utf-8
c906108c 710End:
This page took 0.994981 seconds and 4 git commands to generate.