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