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