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