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