include/elf/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2008-03-12 Alan Modra <amodra@bigpond.net.au>
2
3 PR 5900
4 * elfread.c (elf_symtab_read): Make shndx an unsigned int.
5 * mipsread.c: Include elf/internal.h.
6 (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx
7 to internal range.
8
9 2008-03-11 Markus Deuling <deuling@de.ibm.com>
10
11 * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch
12 to get at the current architecture and at the target specific vector.
13 Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and
14 remove define of I387_ST0_REGNUM.
15
16 * amd64-tdep.c (I387_ST0_REGNUM): Remove define.
17
18 (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to
19 get at the current architecture
20 (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as
21 parameter.
22
23 * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM,
24 I387_NUM_XMM_REGS and I387_MM0_REGNUM.
25
26 (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM,
27 I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM,
28 (I387_FSTAT_REGNUM): Add target specific vector as parameter.
29
30 (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get
31 at the target specific vector.
32
33 (i386_get_longjmp_target): Use get_frame_arch to get at the current
34 architecture. Use gdbarch_tdep to get at the target specific vector.
35
36 (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and
37 update caller. Use gdbarch_tdep to get at the target specific vector.
38
39 (i386_register_to_value: Use get_frame_arch to get at the current
40 architecture.
41
42 * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as
43 parameter.
44
45 * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
46 I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM
47 I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR,
48 FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter.
49
50 (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and
51 undef's.
52
53 (i387_convert_register_p, i387_register_to_value,
54 i387_value_to_register): Update call for i386_fp_regnum_p.
55
56 * i387-tdep.h: Remove comment.
57 (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define.
58 (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
59 I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM,
60 I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM,
61 I387_MXCSR_REGNUM): Add target specific vector as parameter.
62
63 2008-03-10 Daniel Jacobowitz <dan@codesourcery.com>
64
65 * Makefile.in (fork-child.o): Update.
66 * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper
67 argument. Gather all gdbserver features together.
68 * fork-child.c (exec_wrapper): New variable.
69 (fork_inferior): Use it.
70 (startup_inferior): Skip an extra trap if using "set exec-wrapper".
71 (unset_exec_wrapper_command, _initialize_fork_child): New.
72
73 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
74
75 * source.c (directory_command): Modify the determination of
76 condition of terminal "from_tty".
77
78 2008-03-10 Matt Rice <ratmice@gmail.com>
79
80 * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
81
82 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
83
84 * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end
85 of the data passing to strtoulst function.
86 (info_spu_signal_command): Likewise.
87
88 2008-03-08 Vladimir Prus <vladimir@codesourcery.com>
89
90 * mi/mi-interp.c (mi_command_loop): Remove
91 commented-out code.
92
93 2008-03-07 Joel Brobecker <brobecker@adacore.com>
94
95 * remote.c (extended_remote_attach_1): Make local variable pid an int
96 instead of a pid_t.
97
98 2008-03-07 Joel Brobecker <brobecker@adacore.com>
99
100 * solib-svr4.c (svr4_same_1): New function, originally extracted
101 from svr4_same and expanded to handle the sparc64 case.
102 (svr4_same): Move up and reimplement using svr4_same_1.
103 (enable_break): Use svr4_same_1 to do shared library name comparisons.
104
105 2008-03-07 Ramana Radhakrishnan <ramana.r@gmail.com>
106
107 * MAINTAINERS: Move self to Paper trail.
108
109 2008-03-05 Daniel Jacobowitz <dan@codesourcery.com>
110
111 * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
112 * event-loop.c (call_async_signal_handler): New.
113 * event-loop.h (call_async_signal_handler)
114 (gdb_call_async_signal_handler): Declare.
115 (mark_async_signal_handler): Add comments.
116 * event-top.c (handle_sigint): Use gdb_call_async_signal_handler.
117 * mingw-hdep.c (sigint_event, sigint_handler): New.
118 (gdb_select): Use them. Wait for the readline signal handler
119 to finish.
120 (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions.
121 * posix-hdep.c (gdb_call_async_signal_handler): New function.
122 * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt):
123 New.
124 (remote_fileio_ctrl_c_signal_handler): Use
125 gdb_call_async_signal_handler.
126 (initialize_remote_fileio): Initialize sigint_fileio_token.
127 * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do
128 not initialize tokens here.
129 (handle_remote_sigint_twice): Likewise. Reinstall
130 handle_remote_sigint.
131 (async_remote_interrupt_twice): Just call interrupt_query.
132 (cleanup_sigint_signal_handler): Do not delete tokens.
133 (remote_interrupt, remote_interrupt_twice): Use
134 gdb_call_async_signal_handler.
135 (interrupt_query): Reinstall the default signal handler.
136 (_initialize_remote): Initialize tokens here.
137
138 2008-03-04 Joel Brobecker <brobecker@adacore.com>
139
140 * features/rs6000/power-core.xml, features/rs6000/power64-core.xml,
141 features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
142 Change the type of the lr register to code_ptr.
143 * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
144 features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
145 features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
146 features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
147 features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
148 features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
149 features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate.
150
151 2008-03-03 James E. Wilson <wilson@tuliptree.org>
152
153 * MAINTAINERS: Update my email address.
154
155 2008-03-03 Keith Seitz <keiths@redhat.com>
156
157 From Dave Murphy <davem@devkitpro.org>:
158 * configure.ac: Set tcl configdir to win under mingw.
159 * configure: Regenerate.
160
161 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
162
163 * breakpoint.c (fetch_watchpoint_value): New function.
164 (update_watchpoint): Set and clear val_valid. Use
165 fetch_watchpoint_value. Handle unreadable values on the
166 value chain. Correct check for user-requested array watchpoints.
167 (breakpoint_init_inferior): Clear val_valid.
168 (watchpoint_value_print): New function.
169 (print_it_typical): Use it. Do not free or clear old_val. Print
170 watchpoints even if old_val == NULL.
171 (watchpoint_check): Use fetch_watchpoint_value. Check for values
172 becoming readable or unreadable.
173 (watch_command_1): Use fetch_watchpoint_value. Set val_valid.
174 (do_enable_watchpoint): Likewise.
175 * breakpoint.h (struct breakpoint): Update comment for val. Add
176 val_valid.
177 * NEWS: Mention watchpoints on inaccessible memory.
178
179 2007-02-29 Daniel Jacobowitz <dan@codesourcery.com>
180
181 * Makefile.in (i386-nat.o): Update.
182 * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call
183 i386_use_watchpoints.
184 * i386-linux-nat.c (_initialize_i386_linux_nat): Call
185 i386_use_watchpoints.
186 * i386-nat.c (i386_stopped_data_address): Take two arguments.
187 (i386_stopped_by_watchpoint): Update call.
188 (i386_can_use_hw_breakpoint, i386_use_watchpoints): New.
189 * config/i386/nm-i386.h: Conditionalize definitions on
190 ! I386_WATCHPOINTS_IN_TARGET_VECTOR.
191 (i386_use_watchpoints): Declare.
192 (i386_stopped_data_address): Update.
193 * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
194 * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
195
196 2008-02-29 Joel Brobecker <brobecker@adacore.com>
197
198 GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
199 * version.in: Bump version to 6.8.50.20080229-cvs.
200
201 2008-02-28 Markus Deuling <deuling@de.ibm.com>
202
203 * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING
204 properly.
205
206 2008-02-28 Tom Tromey <tromey@redhat.com>
207
208 * infcmd.c (notice_args_read): Print result of get_inferior_args.
209
210 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
211
212 * infcmd.c (kill_if_already_running): Make static. Use
213 target_require_runnable.
214 * target.c (target_require_runnable): New.
215 * target.h (target_require_runnable): Declare.
216
217 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
218
219 * frame.c (reinit_frame_cache): Only annotate if frames were
220 previously valid.
221
222 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
223
224 * regformats/reg-ppc.dat: Rename "ps" to "msr".
225 * regformats/reg-ppc64.dat: Likewise.
226
227 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
228
229 * features/Makefile (%.dat): Emit xmltarget statement.
230
231 * regformats/regdat.sh: Support xmltarget and xmlarch statments.
232 Generate code to set gdbserver_xmltarget in init_registers_${name}.
233
234 * regformats/arm-with-iwmmxt.dat: Regenerate.
235 * regformats/mips64-linux.dat: Regenerate.
236 * regformats/mips-linux.dat: Regenerate.
237 * regformats/rs6000/powerpc-32.dat: Regenerate.
238 * regformats/rs6000/powerpc-64.dat: Regenerate.
239 * regformats/rs6000/powerpc-e500.dat: Regenerate.
240
241 * regformats/reg-arm.dat: Add xmlarch statement.
242 * regformats/reg-i386.dat: Likewise.
243 * regformats/reg-i386-linux.dat: Likewise.
244 * regformats/reg-x86-64-linux.dat: Likewise.
245 * regformats/reg-spu.dat: Likewise.
246
247 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
248
249 * remote.c (remote_wait, remote_async_wait): Stop if we receive
250 an error.
251
252 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
253
254 * utils.c (debug_timestamp): New.
255 (vfprintf_unfiltered): Print timestamps if requested.
256 (show_debug_timestamp): New.
257 (initialize_utils): Register "set debug timestamp".
258 * NEWS: Mention "set debug timestamp". Add GDB 6.8 section.
259
260 2008-02-27 Joel Brobecker <brobecker@adacore.com>
261
262 * breakpoint.c (skip_prologue_sal): New function.
263 (resolve_sal_pc): Adjust SAL past prologue if the SAL was
264 computed from a line number.
265
266 2008-02-27 Joel Brobecker <brobecker@adacore.com>
267
268 * features/rs6000/power-core.xml, features/rs6000/power64-core.xml
269 features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
270 Set PC register type to "code_ptr".
271 * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
272 features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
273 features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
274 features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
275 features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
276 features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
277 features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c:
278 Regenerate.
279
280 2008-02-27 Ulrich Weigand <uweigand@de.ibm.com>
281
282 * regformats/regdat.sh: Rename init_registers function in
283 generated file to init_registers_${name}.
284
285 * regformats/reg-crisv32.dat: Set "name" to crisv32.
286 * regformats/reg-ppc64.dat: Set "name" to ppc64.
287 * regformats/reg-s390x.dat: Set "name" to s390x.
288
289 2008-02-26 Greg Law <glaw@undo-software.com>
290
291 * regcache.c (registers_changed): Call reinit_frame_cache.
292
293 2008-02-26 Daniel Jacobowitz <dan@codesourcery.com>
294
295 * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o.
296 * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver
297 and svr4_fetch_objfile_link_map.
298 * Makefile.in (sh-linux-tdep.o): Update.
299
300 2008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
301
302 * amd64-tdep.c (amd64_classify): Add support for decimal float
303 types.
304 * i386-tdep.c (i386_return_value): Make 128-bit decimal float
305 use the struct return convention.
306
307 2008-02-26 Nick Roberts <nickrob@snap.net.nz>
308
309 * breakpoint.c (print_one_breakpoint_location): Revert Enb field
310 to old format. Discard breakpoint address if shared library is
311 unloaded.
312 (breakpoint_1): Adjust formatting of table header accordingly.
313
314 2008-02-25 Vladimir Prus <vladimir@codesourcery.com>
315
316 * remote.c (remote_get_threadlist): If the response
317 is empty, don't try to parse it.
318
319 2008-02-23 Vladimir Prus <vladimir@codesourcery.com>
320
321 Unbreak 'target async'.
322 * serial.c (serial_async): Set the
323 handler function before enabling async
324 mode.
325
326 2008-02-22 Daniel Jacobowitz <dan@codesourcery.com>
327
328 * solib-svr4.c (enable_break): Convert r_brk to a code address.
329
330 2008-02-21 Pedro Alves <pedro@codesourcery.com>
331
332 * remote.c (extended_remote_attach_1): Set attach_flag.
333 (extended_remote_create_inferior_1): Clear attach_flag.
334
335 2008-02-20 Daniel Jacobowitz <dan@codesourcery.com>
336
337 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
338 r_brk_offset.
339 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
340 * solib-svr4.c (solib_svr4_r_brk): New.
341 (open_symbol_file_object, svr4_current_sos): Always check the
342 debug base.
343 (svr4_fetch_objfile_link_map): Do not set debug_base.
344 (enable_break): Use r_brk if it is set.
345 (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
346 (svr4_lp64_fetch_link_map_offsets): Likewise.
347 * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
348
349 2008-02-20 Markus Deuling <deuling@de.ibm.com>
350 Mark Kettenis <kettenis@gnu.org>
351
352 * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
353 trad_frame_saved_reg.
354 (trad-frame.h): New include.
355
356 (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
357 instead of frame_obstack_zalloc.
358 (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
359
360 * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
361
362 2008-02-20 Markus Deuling <deuling@de.ibm.com>
363
364 * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
365 from disassemble_info instead of gdbarch_byte_order.
366
367 * mips-tdep.c (gdb_print_insn_mips): Likewise.
368 * arm-tdep.c (gdb_print_insn_arm): Likewise.
369
370 2008-02-20 Markus Deuling <deuling@de.ibm.com>
371
372 * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
373 gdbarch as parameter.
374
375 * gdbarch.{c,h}: Regenerate.
376
377 * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
378 parameter.
379 * mem-break.c (default_memory_insert_breakpoint)
380 (default_memory_remove_breakpoint): Likewise.
381 * target.h (default_memory_remove_breakpoint)
382 (default_memory_insert_breakpoint): Likewise.
383
384 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
385 parameter. Replace current_gdbarch by gdbarch.
386 * m32r-tdep.c (m32r_memory_insert_breakpoint)
387 (m32r_memory_remove_breakpoint): Likewise.
388
389 2008-02-19 Daniel Jacobowitz <dan@codesourcery.com>
390
391 * MAINTAINERS: Add Vladimir Prus as MI maintainer.
392
393 2008-02-19 Joel Brobecker <brobecker@adacore.com>
394
395 * NEWS: Add entry describing Add support improvements.
396
397 2008-02-18 Markus Deuling <deuling@de.ibm.com>
398
399 * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
400 M68K_FP0_REGNUM.
401
402 2008-02-18 Markus Deuling <deuling@de.ibm.com>
403
404 * sentinel-frame.c (sentinel_frame_prev_register): Do not call
405 register_offset_hack anymore.
406
407 * regcache.{c,h} (register_offset_hack): Remove.
408
409 2008-02-18 Markus Deuling <deuling@de.ibm.com>
410
411 * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
412
413 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
414 current_gdbarch by gdbarch.
415 (hppa64_hpux_find_global_pointer): Likewise.
416 * hppa-tdep.c (hppa_find_global_pointer): Likewise.
417 (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
418 find_global_pointer.
419
420 * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
421 parameter.
422 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
423
424 * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
425 of gdbarch_num_regs.
426
427 * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
428 replace current_gdbarch by gdbarch.
429 (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
430
431 2008-02-18 Markus Deuling <deuling@de.ibm.com>
432
433 * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
434 and replace current_gdbarch by gdbarch.
435
436 (store_register): Update call for exec_one_dummy_insn.
437 (fetch_register, store_register): Update call of regmap.
438
439 * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
440 parameter and replace current_gdbarch by gdbarch.
441
442 (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
443 the current architecture. Update call for getregs_supplies and
444 getfpregs_supplies.
445 (ppcnbsd_fetch_inferior_registers): Likewise.
446
447 * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
448 replace current_gdbarch by gdbarch.
449 (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
450 get_regcache_arch to get at the current architecture. Update call for
451 getfpregs_supplies.
452
453 2008-02-18 Markus Deuling <deuling@de.ibm.com>
454
455 * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
456 variables.
457
458 2008-02-15 Markus Deuling <deuling@de.ibm.com>
459
460 * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
461
462 2008-02-14 Vladimir Prus <vladimir@codesourcery.com>
463
464 * NEWS: Mention pending breakpints in MI.
465
466 2008-02-14 Markus Deuling <deuling@de.ibm.com>
467
468 * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
469
470 2008-02-13 Markus Deuling <deuling@de.ibm.com>
471
472 Add script to build and test GDB using enable-targets=all.
473
474 * gdb_buildall.sh: New file.
475
476 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
477
478 * NEWS (New native configurations): Xtensa GNU/Linux.
479 (New targets): Xtensa GNU/Linux.
480 * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
481 xtensa-linux-tdep.o
482 (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
483 (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
484 * configure.tgt (xtensa*-*-linux*): New entry.
485 * xtensa-config.c (xtensa_tdep): New variable.
486 (xtensa_config_byte_order, xtensa_config_tdep): Removed.
487 (rmap): Change format based on new macro XTREG.
488 (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
489 * xtensa-linux-nat.c: New.
490 * xtensa-linux-tdep.c: New.
491 * xtensa-xtregs.c: New.
492 * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
493 (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
494 (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
495 (xtensa_register_t): New field coprocessor.
496 (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
497 * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
498 (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
499 Update to handle privileged registers.
500 (xtensa_supply_gregset) Remove exccause and excvaddr registers.
501 (xtensa_push_dummy_call): Set windowstart register correctly.
502 (call0_analyze_prologue): Initialize xtensa_default_isa.
503 (xtensa_derive_tdep): New.
504 (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
505 xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
506 Call xtensa_derive_tdep().
507 * config/xtensa/linux.mh: New.
508 * regformats/reg-xtensa.dat: New.
509
510 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change)
511
512 * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
513 (filenames.h): New include.
514 * Makefile.in (corelow.o): Add dependency for filenames.h.
515
516 2008-02-08 Doug Evans <dje@google.com>
517
518 * source.c (find_and_open_source): Always rewrite absolute filenames.
519
520 2008-02-07 Doug Evans <dje@google.com>
521
522 * breakpoint.c: #include "hashtab.h".
523 (ambiguous_names_p): New fn.
524 (update_breakpoint_locations): When restoring bp enable status, don't
525 compare function names if any functions have same name.
526 * Makefile.in (breakpoint.o): Add hashtab.h dependency.
527
528 2008-02-07 Joel Brobecker <brobecker@adacore.com>
529
530 * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
531 instead of just a VEC*. Update use of SV.
532 (ada_make_symbol_completion_list): Update symbol_completion_add calls.
533
534 2007-02-07 Joel Brobecker <brobecker@adacore.com>
535
536 * NEWS: Put all new commands since gdb-6.7 together.
537
538 2007-02-07 Joel Brobecker <brobecker@adacore.com>
539
540 * ada-lang.c: #include "vec.h".
541 (struct string_vector, new_string_vector, string_vector_append):
542 Delete.
543 (char_ptr): New typedef.
544 (DEF_VEC_P (char_ptr)): New VEC type.
545 (symbol_completion_add): Update profile to take the new VEC type
546 instead of the old string_vector structure. Update code accordingly.
547 (ada_make_symbol_completion_list): Use the new VEC type instead of
548 the old string_vector structure, and update the code accordingly.
549 * Makefile.in (ada-lang.o): Add dependency on vec.h.
550
551 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
552
553 * p-exp.y: Set current_type in missing places.
554 (leftdiv_is_integer): New static variable.
555 Typecast right operand of BINOP_DIV to long_double if both operands
556 are integers.
557
558 2008-02-06 Maciej W. Rozycki <macro@mips.com>
559
560 * remote-mips.c (set_breakpoint): Rename to...
561 (mips_set_breakpoint): ... this.
562 (clear_breakpoint): Rename to...
563 (mips_clear_breakpoint): ... this.
564 (common_breakpoint): Rename to...
565 (mips_common_breakpoint): ... this.
566 (check_lsi_error): Rename to...
567 (mips_check_lsi_error): ... this.
568
569 2007-02-05 Joel Brobecker <brobecker@adacore.com>
570
571 * language.h (struct language_defn): Add new field
572 la_make_symbol_completion_list.
573 * symtab.c (default_make_symbol_completion_list): Renames
574 make_symbol_completion_list.
575 (make_symbol_completion_list): New function.
576 * symtab.h (default_make_symbol_completion_list): Add declaration.
577 * langauge.c (unknown_language): Set la_make_symbol_completion_list.
578 (auto_language, local_language): Likewise.
579 * objc-lang.c (objc_language_defn): Likewise.
580 * scm-lang.c (scm_language_defn): Likewise.
581 * m2-lang.c (m2_language_defn): Likewise.
582 * f-lang.c (f_language_defn): Likewise.
583 * jv-lang.c (java_language_defn): Likewise.
584 * p-lang.c (pascal_language_defn): Likewise.
585 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
586 (minimal_language_defn): Likewise.
587 * ada-lang.c (struct string_vector): New structure.
588 (new_string_vector, string_vector_append, ada_unqualified_name)
589 (add_angle_brackets, symbol_completion_match, symbol_completion_add)
590 (ada_make_symbol_completion_list): New functions.
591 (ada_language_defn): Set la_make_symbol_completion_list.
592 * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
593 this function is static.
594
595 2008-02-05 Kevin Buettner <kevinb@redhat.com>
596
597 * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
598 to account for call site optimizations.
599
600 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
601
602 * tracepoint.c (read_actions): Handle end-of-text indicator
603 in action list properly. (Committed by Jim Blandy)
604
605 2008-02-05 Jim Blandy <jimb@red-bean.com>
606
607 * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
608 pseudoregister, not an internal error.
609 Reported by: Andrzej Zaborowski
610
611 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
612
613 * varobj.c (c_value_of_variable): Use xstrdup.
614
615 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
616
617 Update stored rendition of varobj value when format changes.
618 * varobj.c (varobj_set_display_format): Recomputed
619 print_value.
620 (c_value_of_variable): Return print_value.
621
622 2008-02-03 Doug Evans <dje@google.com>
623
624 * eval.c (evaluate_subexp_standard): Fix type of result of mixed
625 integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
626 * valops.c (value_one): New function.
627 * value.h (value_one): Declare.
628
629 Fix argument promotion for binary arithmetic ops for C.
630 * valarith.c (unop_result_type): New fn.
631 (binop_result_type): New fn.
632 (value_binop): Move result type computation to binop_result_type.
633 (value_pos, value_neg, value_complement): Move result type
634 computation to unop_result_type.
635
636 PR 2384
637 * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
638 Return basetype, fieldno if found. All callers updated.
639 Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
640 objfile.
641 * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
642 * symfile.h (fill_in_vptr_fieldno): Delete.
643
644 2008-02-02 Doug Evans <dje@google.com>
645
646 * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
647
648 * typeprint.c (*): Whitespace cleanup.
649
650 2008-02-02 Mark Kettenis <kettenis@gnu.org>
651 Luis Machado <luisgpm@br.ibm.com>
652 Thiago Jung Bauermann <bauerman@br.ibm.com>
653
654 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
655 don't fit into registerson the stack the way GCC does.
656
657 2008-02-01 Joel Brobecker <brobecker@adacore.com>
658
659 * symtab.c (symbol_set_names): Do not add an entry in the demangling
660 hash table for Ada symbols. Just store the linkage name as is,
661 and leave the demangled_name as NULL.
662
663 2007-02-01 Joel Brobecker <brobecker@adacore.com>
664
665 * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
666 in the global scope.
667 (new_symbol): Likewise.
668
669 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
670
671 * breakpoint.c (break_command_1): Return void.
672 (break_command_really): Return void. Rethrow
673 exceptions instead of returning.
674 (gdb_breakpoint): Remove the error_message parameter.
675 Return void. Rename to set_breakpoint.
676 * gdb.h (gdb_breakpoint): Rename and move to...
677 * breakpoint.h (set_breakpoint): ...here.
678 * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
679 event hooks even if exception is thrown. Adjust to
680 gdb_breakpoint interface changes.
681
682
683 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
684
685 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
686 float in both first and second word in the doubleword, to support
687 old and new ABIs.
688
689 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
690
691 Properly rethrow exception. This fixes errors
692 about non-existent functions for -break-insert.
693 * breakpoint.c (break_command_really): Use throw_exception
694 for rethrowing. If rethrowing, don't print the exception.
695
696 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
697
698 * NEWS: Mention Decimal Floating Point support.
699
700 2008-01-31 Joel Brobecker <brobecker@adacore.com>
701
702 * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
703 value type to builtin_type_void_func_ptr.
704
705 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
706
707 * s390-tdep.c (is_float_singleton, is_float_like,
708 alignment_of, s390_return_value): Make checks for
709 TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
710
711 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
712 Thiago Jung Bauermann <bauerman@br.ibm.com>
713
714 * infcmd.c (default_print_registers_info): Also print hex
715 raw contents for TYPE_CODE_DECFLOAT registers.
716 * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
717 * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
718 (rs6000_register_name): Add support for DFP pseudo-registers.
719 (rs6000_pseudo_register_type): Likewise.
720 rs6000_pseudo_register_reggroup_p): Likewise.
721 (ppc_pseudo_register_read): New function.
722 (ppc_pseudo_register_write): Likewise.
723 (rs6000_pseudo_register_read): Likewise.
724 (rs6000_pseudo_register_write): Likewise.
725 (e500_pseudo_register_read): Move checks to
726 rs6000_pseudo_register_read.
727 (e500_pseudo_register_write): Move checks to
728 rs6000_pseudo_register_write.
729 (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
730 rs6000_pseudo_register_read and rs6000_pseudo_register_write
731 in gdbarch if SPE or DFP is available. Adjust gdbarch's
732 num_pseudo_regs to account for DFP pseudo regs.
733
734 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
735
736 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
737 * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
738 (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
739 rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
740 e500_pseudo_register_read, e500_pseudo_register_write): Use
741 IS_SPE_PSEUDOREG macro.
742 (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
743 (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
744 Remove initialization of tdep->ppc_ev31_regnum.
745
746 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
747
748 * printcmd.c (print_formatted): Handle references as for unformatted
749 prints.
750
751 2008-01-30 Joel Brobecker <brobecker@adacore.com>
752
753 * eval.c (evaluate_subexp_standard): Add handling of user
754 registers when in EVAL_AVOID_SIDE_EFFECTS mode.
755
756 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
757
758 * eval.c (evaluate_subexp_standard): Support
759 BINOP_INTDIV opcode.
760
761 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
762
763 * valarith.c (value_binop): Add floating-point BINOP_MIN and
764 BINOP_MAX cases.
765 For BINOP_EXP, use length and signedness of left operand only for
766 result, as for shifts.
767 For integral operands to BINOP_EXP, use new integer_pow and
768 uinteger_pow functions so as to get full range of results.
769 (integer_pow): New function.
770 (uinteger_pow): New function.
771
772 2008-01-30 Vladimir Prus <vladimir@codesourcery.com>
773
774 Use vector for varobj_list_children interface.
775 * gdb/varobj.c (varobj_list_children): Return vector
776 of varobjs.
777 * gdb/varobj.h (varobj_list_children): Adjust
778 prototype.
779 (varobj_p): Declare. Declare vector thereof.
780 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
781 for varobj_list_children change.
782 * Makefile.in (varobj_h): Update dependencies.
783
784 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
785
786 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
787 TYPE_CODE_DECFLOAT arguments.
788 (ppc64_sysv_abi_push_dummy_call) Likewise.
789 (get_decimal_float_return_value): New function.
790 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
791 values by calling get_decimal_float_return_value.
792 (ppc64_sysv_abi_return_value): Likewise.
793
794 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
795
796 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
797 for preprocessor macro information. Formatting changes.
798
799 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
800
801 * remote.c (struct remote_state): Add cached_wait_status.
802 (remote_exec_file): New variable.
803 (PACKET_vAttach, PACKET_vRun): New constants.
804 (extended_remote_restart): Do not query for status.
805 (struct start_remote_args): New.
806 (remote_start_remote): Take it as a second argument. Check
807 whether the target is running. Issue an error for non-running
808 non-extended targets. Cache the wait status. Set inferior_ptid
809 here.
810 (remote_open_1): Prompt to disconnect non-running targets. Make
811 sure the target is marked running. Do not set inferior_ptid here.
812 Update call to remote_start_remote. Do not call remote_check_symbols
813 if the target is not running.
814 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
815 argument. Handle a non-running target.
816 (remote_detach): Use it.
817 (extended_remote_detach): New.
818 (remote_disconnect): Fix typo. Use remoute_mourn_1.
819 (extended_remote_attach_1, extended_remote_attach)
820 (extended_async_remote_attach): New.
821 (remote_vcont_resume): Remove unused variable.
822 (remote_wait, remote_async_wait): Use any cached wait status.
823 (putpkt_binary, getpkt): Clear any cached wait status.
824 (extended_remoute_mourn_1): New.
825 (extended_remote_mourn): Use it.
826 (extended_async_remote_mourn, extended_remote_run): New.
827 (extended_remote_create_inferior_1): New.
828 (extended_remote_create_inferior): Use it.
829 (extended_remote_async_create_inferior): Likewise.
830 (remote_xfer_partial): Skip for non-executing targets.
831 (init_extended_remote_ops): Set to_detach and to_attach.
832 (init_extended_async_remote_ops): Likewise. Use
833 extended_async_remote_mourn.
834 (_initialize_remote): Register vAttach, vRun, and
835 set remote exec-file.
836 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
837
838 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
839
840 * Makefile.in (symfile.o): Update.
841 * NEWS: Mention exec tracing support.
842 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
843 exec events.
844 * infcmd.c (kill_if_already_running, detach_command)
845 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
846 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
847 (follow_exec): Do not check may_follow_exec. Do not mourn and push
848 targets. Apply the sysroot path to the loaded executable. Use
849 no_shared_libraries.
850 * linux-nat.c (linux_child_follow_fork): Print fork following
851 messages if verbose.
852 (kill_wait_callback): Kill again before waiting a second time.
853 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
854 no_shared_libraries.
855
856 2008-01-29 Joel Brobecker <brobecker@adacore.com>
857
858 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
859
860 2008-01-29 Joel Brobecker <brobecker@adacore.com>
861
862 * nto-tdep.h: Remove #include "defs.h".
863 * nto-tdep.c: Add #include "defs.h".
864 * Makefile.in (nto_tdep_h): Update dependencies.
865 (nto-tdep.o): Likewise.
866
867 2008-01-29 Joel Brobecker <brobecker@adacore.com>
868
869 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
870 and use it.
871 (proceed, start_remote): Update call to wait_for_inferior.
872 * inferior.h (wait_for_inferior): Update declaration.
873 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
874 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
875 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
876 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
877
878 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
879
880 * varobj (adjust_value_for_child_access): Added checking for
881 returned value from gdb_value_ind.
882 (c_describe_child): Likewise.
883 (cplus_describe_child): Fixed a typo.
884
885 2008-01-29 Jim Blandy <jimb@red-bean.com>
886
887 * MAINTAINERS: Update my info.
888
889 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
890
891 Use multiple locations for hardware watchpoints.
892 This eliminates the need to traverse value chain, doing
893 various checks, in three different places.
894
895 * breakpoint.h (struct bp_location): New fields
896 lengths and watchpoint_type.
897 (struct breakpoint): Remove the val_chain field.
898 * breakpoint.c (is_hardware_watchpoint): New.
899 (free_valchain): Remove.
900 (update_watchpoint): New.
901 (insert_bp_location): For hardware watchpoint, just
902 directly insert it.
903 (insert_breakpoints): Call update_watchpoint_locations
904 on all watchpoints. If we have failed to insert
905 any location of a hardware watchpoint, remove all inserted
906 locations.
907 (remove_breakpoint): For hardware watchpoints, directly
908 remove location.
909 (watchpoints_triggered): Iterate over locations.
910 (bpstat_stop_status): Use only first location of
911 a resource watchpoint.
912 (delete_breakpoint): Don't call free_valchain.
913 (print_one_breakpoint): Don't print all
914 locations for watchpoints.
915 (breakpoint_re_set_one): Use update_watchpoint for
916 watchpoints.
917
918 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
919
920 Don't reset watchpoint block on solib load.
921
922 * breakpoint.c (insert_bp_location): For watchpoints,
923 recompute condition.
924 (breakpoint_re_set_one): Instead of recomputing value
925 and condition for watchpoints, just reset value and
926 let insert_breakpoints/insert_bp_location recompute it.
927 Don't do anything about disabled watchpoint.
928
929 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
930
931 * valarith.c (value_binop): Handle unsigned integer
932 division by zero.
933
934 2008-01-28 Kevin Buettner <kevinb@redhat.com>
935
936 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
937 instruction pattern that appears frequently in position
938 independent code. Fix bug in code which looks for "fmov" and
939 backtracks if no "fmov" is found.
940
941 2008-01-28 Doug Evans <dje@google.com>
942
943 * dbxread.c (read_dbx_symtab): Fix indentation.
944 Reformat comments to 80 columns.
945 Move local var def closer to only use.
946
947 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
948
949 * fork-child.c (SHELL_FILE): Remove #ifndef.
950 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
951
952 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
953
954 * i386-tdep.c (i386_skip_noop): New function.
955 (i386_analyze_prologue): Call i386_skip_noop function.
956
957 2008-01-24 Michael Snyder <msnyder@specifix.com>
958
959 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
960 * win32-nat.c (win32_xfer_partial): Ditto.
961 * target.c (default_xfer_partial): Minor whitespace adjustment.
962
963 2008-01-24 Pedro Alves <pedro@codesourcery.com>
964
965 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
966 strip bit 1 even if pc doesn't point to thumb code.
967
968 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
969
970 * remote.c (remote_wait): Handle SIGINT between packets.
971 (remote_async_wait): Likewise.
972
973 2008-01-23 Vladimir Prus <vladimir@codesourcery.com>
974 Chris Demetriou <cgd@google.com>
975
976 * thread.c (add_thread_silent): Renamed
977 from add_thread.
978 (print_thread_events): New variable definition.
979 (show_print_thread_events): New function.
980 (_initialize_thread): Add "set print thread-events" and
981 "show print thread-events" commands.
982 (add_thread): Announce new thread.
983 * gdbthread.h (add_thread_silent): Declare.
984 (print_thread_events): New variable declaration.
985 * inf-ttrace.c (inf_ttrace_wait): Don't
986 inform about new thread, as add_thread is always
987 called too, and will take care of that.
988 * infrun.c (handle_inferior_event): Likewise.
989 * procfs.c (procfs_wait): Likewise.
990 * remote.c (remote_currthread): Likewise.
991 * sol-thread.c (sol_thread_wait): Likewise.
992 * win32-nat.c (get_win32_debug_event): Likewise.
993 * linux-thread-db.c (attach_thread): Likewise.
994 Remove the verbose parameter.
995 (check_event): Make detach_thread be verbose
996 only if print_thread_events is set.
997 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
998 about new thread. This is called only from
999 linux-thread-db.c:attach_thread, which will take care.
1000 Remove the verbose parameter.
1001 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
1002
1003 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
1004
1005 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
1006
1007 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
1008
1009 * breakpoint.c (break_command_really): New parameter
1010 ignore_count.
1011 (break_command_1): Pass 0 as
1012 ignore_count to break_command_really.
1013 (gdb_breakpoint): Pass ignore_count to
1014 break_command_really.
1015
1016 2008-01-21 Kevin Buettner <kevinb@redhat.com>
1017
1018 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
1019 sigcontext struct via pointer.
1020 (struct sigframe comment): Update to show new field `psc'.
1021
1022 2008-01-21 Vladimir Prus <vladimir@codesourcery.com>
1023
1024 * infrun.c (handle_inferior_event): If
1025 we failed to remove breakpoints, error,
1026 don't try to increment PC by hand.
1027
1028 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
1029
1030 Add NetBSD/hppa target and host support.
1031
1032 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
1033 (hppabsd_gregset): Move to ...
1034 (hppabsd_regset_from_core_section): Rename
1035 hppaobsd_regset_from_core_section and move to ...
1036 (hppabsd_find_global_pointer): Update comment.
1037 (hppabsd_init_abi): Make global. Do not register
1038 hppabsd_regset_from_core_section.
1039 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
1040 move to ...
1041 (_initialize_hppabsd_tdep): Move to ...
1042 * hppaobsd-tdep.c: ... here. New file.
1043 * hppnbsd-tdep.c: New file.
1044 * hppnbsd-nat.c: New file.
1045 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
1046 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
1047 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
1048 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
1049 * configure.host (hppa*-*-netbsd*): New entry.
1050 * configure.tgt (hppa*-*-netbsd*): New entry.
1051 (hppa*-*-openbsd*): Update.
1052 * NEWS (New native configuration): Mention NetBSD/hppa.
1053 (New targets): Mention NetBSD/hppa.
1054
1055 2008-01-18 Markus Deuling <deuling@de.ibm.com>
1056
1057 * gdbarch.sh (function_list): Add new property bits_big_endian to
1058 gdbarch structure.
1059 * gdbarch.{c,h}: Regenerate.
1060
1061 * value.c (struct value): Replace BITS_BIG_ENDIAN by
1062 gdbarch_bits_big_endian (comment).
1063 (unpack_field_as_long, modify_field): Likewise.
1064 * value.h: Likewise (comment).
1065 * valops.c (value_slice): Likewise.
1066 * valarith.c (value_subscript, value_bit_index): Likewise.
1067 * gdbtypes.h (field): Likewise (comment).
1068 * eval.c (evaluate_subexp_standard): Likewise.
1069 * dwarf2read.c (dwarf2_add_field): Likewise.
1070 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
1071 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
1072
1073 * defs.h (BITS_BIG_ENDIAN): Remove.
1074
1075 2008-01-18 Markus Deuling <deuling@de.ibm.com>
1076
1077 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
1078 function calls.
1079 * m2-exp.y (yylex): Likewise.
1080 * objc-exp.y (yylex): Likewise.
1081
1082 * defs.h (DEPRECATED_STREQN): Remove.
1083
1084 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
1085
1086 * MAINTAINERS: Update my email address.
1087
1088 2008-01-17 Jim Blandy <jimb@codesourcery.com>
1089
1090 * README: Mention gdbserver/README.
1091
1092 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
1093
1094 * valarith.c (value_binop): Handle BINOP_INTDIV
1095 for unsigned and signed integers.
1096
1097 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
1098
1099 * s390-tdep.c (s390_gdbarch_init): Set default long double
1100 type to 128-bit IEEE quad.
1101
1102 2008-01-17 Joel Brobecker <brobecker@adacore.com>
1103
1104 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
1105
1106 2008-01-16 Mark Kettenis <kettenis@gnu.org>
1107
1108 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
1109
1110 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
1111 * value.c: All callers changed.
1112
1113 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1114
1115 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
1116 DEPRECATED_STREQ by its expression.
1117 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
1118 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
1119 (scan_xcoff_symtab): Likewise.
1120 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
1121 * f-lang.c (find_common_for_function): Likewise.
1122 * objc-exp.y (parse_number): Likewise.
1123
1124 * defs.h (DEPRECATED_STREQ): Remove.
1125
1126 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1127
1128 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
1129 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
1130 get_frame_arch to get at the current_architecture. Update AM33_MODE
1131 call.
1132 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
1133 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
1134 architecture.
1135 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
1136
1137 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1138
1139 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
1140 parameter.
1141 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
1142
1143 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
1144 current_gdbarch by gdbarch. Update caller.
1145
1146 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
1147 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
1148 the current architecture. Update calls of
1149 amd64_native_gregset_supplies_p.
1150 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
1151 (amd64bsd_store_inferior_registers): Likewise.
1152
1153 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1154
1155 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
1156 Replace current_gdbarch by gdbarch. Update caller.
1157
1158 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1159
1160 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
1161 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
1162 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
1163 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
1164 (stabsect_build_psymtabs): Fix indentation.
1165
1166 2008-01-15 Michael Snyder <msnyder@specifix.com>
1167
1168 * corelow.c (core_xfer_partial): Comment, cut/paste error.
1169
1170 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1171
1172 * win32-nat.c (win32_create_inferior): Restore code calling
1173 CloseHandle on ProcessInformation structure.
1174
1175 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
1176
1177 * configure.ac: Check for void * as 3 argument of ptrace.
1178 * configure: regenerate.
1179
1180 2008-01-11 Markus Deuling <deuling@de.ibm.com>
1181
1182 * alpha-tdep.c (alpha_heuristic_proc_start)
1183 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
1184 current_gdbarch by gdbarch.
1185
1186 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
1187 current architecture by frame_info. Update alpha_heuristic_proc_start
1188 call.
1189
1190 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
1191 get_frame_arch to get at the current architecture by frame_info. Update
1192 alpha_sigtramp_register_address call.
1193
1194 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
1195 current_gdbarch by gdbarch. Update caller.
1196 (convert_to_extended, convert_from_extended): Add endianess parameter
1197 for comparison. Update caller.
1198 (arm_extract_return_value, arm_store_return_value): Use
1199 get_regcache_arch to get at the current architecture.
1200
1201 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
1202 current_gdbarch by gdbarch. Update caller.
1203 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
1204 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
1205
1206 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
1207 gdbarch as parameter. Update caller.
1208 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
1209 current_gdbarch by gdbarch. Update caller.
1210
1211 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
1212 update caller. Replace current_gdbarch by gdbarch.
1213
1214 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
1215 the current architecture. Replace current_gdbarch by gdbarch.
1216 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1217 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1218 expression. Add gdbarch as parameter and replace current_gdbarch with
1219 it. Update caller.
1220 (M6811_TDEP): Remove.
1221 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1222 architecture.
1223 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1224 current_gdbarch by gdbarch. Update caller.
1225
1226 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1227 update caller.
1228 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1229 by gdbarch.
1230
1231 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1232 caller. Relace current_gdbarch by gdbarch.
1233 (altivec_register_p, spe_register_p): Likewise.
1234 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1235 parameter.
1236 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1237 altivec_register_p and spe_register_p.
1238
1239 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1240 caller. Replace current_gdbarch by gdbarch.
1241 (score_analyze_prologue): use get_frame_arch to get at the current
1242 architecture.
1243
1244 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1245 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1246 current_gdbarch by gdbarch. Update caller.
1247 (sparc_frame_cache): Use get_frame_arch to get at the current
1248 architecture.
1249 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1250 sparc_analyze_prologue.
1251
1252 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1253 parameter.
1254
1255 2008-01-11 Markus Deuling <deuling@de.ibm.com>
1256
1257 * exec.c: #include "arch-utils.h"
1258 (print_section_info): Use gdbarch_from_bfd to get at the
1259 current architecture. Replace current_gdbarch. Fix indention. Replace
1260 deprecated_print_address_numeric by paddress.
1261 * Makefile.in (exec.o) Add dependency to arch-utils.h.
1262
1263 * valprint.c (val_print_string): Replace
1264 deprecated_print_address_numeric.
1265 * tracepoint.c (trace_mention, scope_info): Likewise.
1266 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1267 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1268 (maintenance_check_symtabs): Likewise.
1269 * symfile.c (list_overlays_command): Likewise.
1270 * stack.c (frame_info, print_block_frame_labels): Likewise.
1271 * printcmd.c (print_address, print_address_demangle)
1272 (address_info): Likewise.
1273 * corefile.c (memory_error): Likewise.
1274 * infcmd.c (jump_command): Likewise.
1275 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1276 (mention, delete_breakpoint): Likewise.
1277 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1278 * dwarf2read.c (dump_die): Likewise.
1279 * ada-valprint.c (ada_val_print_1): Likewise.
1280 * f-valprint.c (f_val_print): Likewise.
1281 * linux-fork.c (info_forks_command): Likewise.
1282 * m32r-com.c (m32r_load_section, m32r_load)
1283 (m32r_upload_command): Likewise.
1284
1285 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1286
1287 2008-01-11 Markus Deuling <deuling@de.ibm.com>
1288
1289 * gdbarch.sh (skip_prologue): Add gdbarch
1290 as parameter.
1291 * gdbarch.{c,h}: Regenerate.
1292
1293 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1294 * amd64-tdep.c (amd64_skip_prologue): Likewise.
1295 * avr-tdep.c (avr_skip_prologue): Likewise.
1296 * cris-tdep.c (cris_skip_prologue): Likewise.
1297 * frv-tdep.c (frv_skip_prologue): Likewise.
1298 * h8300-tdep.c (h8300_skip_prologue): Likewise.
1299 * hppa-tdep.c (hppa_skip_prologue): Likewise.
1300 * i386-tdep.c (i386_skip_prologue): Likewise.
1301 * ia64-tdep.c (ia64_skip_prologue): Likewise.
1302 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1303 * m32r-tdep.c (m32r_skip_prologue): Likewise.
1304 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1305 * m68k-tdep.c (m68k_skip_prologue): Likewise.
1306 * m88k-tdep.c (m88k_skip_prologue): Likewise.
1307 * mep-tdep.c (mep_skip_prologue): Likewise.
1308 * mips-tdep.c (mips_skip_prologue): Likewise.
1309 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1310 * mt-tdep.c (mt_skip_prologue): Likewise.
1311 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1312 * score-tdep.c (score_skip_prologue): Likewise.
1313 * sh64-tdep.c (sh64_skip_prologue): Likewise.
1314 * sh-tdep.c (sh_skip_prologue): Likewise.
1315 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1316 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1317 * spu-tdep.c (spu_skip_prologue): Likewise.
1318 * v850-tdep.c (v850_skip_prologue): Likewise.
1319 * vax-tdep.c (vax_skip_prologue): Likewise.
1320 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1321 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1322
1323 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1324 current_gdbarch by gdbarch.
1325 * m32c-tdep.c (m32c_skip_prologue): Likewise.
1326 * s390-tdep.c (s390_skip_prologue): Likewise.
1327
1328 2008-01-10 Doug Evans <dje@google.com>
1329
1330 * defs.h (struct continuation_arg): Fix typo in comment.
1331 * target.c (target_translate_tls_address): Fix comment spelling error.
1332
1333 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
1334
1335 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1336 (DOUBLEST_SCAN_FORMAT): Likewise.
1337 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1338 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1339 * c-exp.y (parse_number): Likewise.
1340 * jv-exp.y (parse_number): Likewise.
1341 * objc-exp.y (parse_number): Likewise.
1342 * p-exp.y (parse_number): Likewise.
1343
1344 2008-01-09 Joel Brobecker <brobecker@adacore.com>
1345
1346 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1347 (check_typedef): Likewise.
1348
1349 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
1350
1351 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1352 seen_double_big_d, treat the new H, D, and DD modifiers as length
1353 modifiers.
1354
1355 2008-01-08 Joel Brobecker <brobecker@adacore.com>
1356
1357 * dwarf2read.c (read_enumeration_type): Add comment.
1358
1359 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
1360
1361 * config.in: Regenerate.
1362
1363 2008-01-08 Joel Brobecker <brobecker@adacore.com>
1364
1365 * ada-lang.c (ada_convert_actual): Renames convert_actual.
1366 Make non-static.
1367 (ada_convert_actuals): Delete.
1368 * ada-lang.h (ada_convert_actual): Add declaration.
1369 (ada_convert_actuals): Remove declaration.
1370 * infcall.c: #include "ada-lang.h".
1371 (value_arg_coerce): Add new parameter sp. Update function
1372 documetnation. Add handling of Ada function call parameters.
1373 * Makefile.in (infcall.o): Update dependencies.
1374
1375 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
1376
1377 * ada-lang.c (ensure_lval): Fix value lval kind.
1378 (convert_actual): Add handling for arguments passed by reference.
1379
1380 2008-01-08 Doug Evans <dje@google.com>
1381
1382 * dbxread.c (read_dbx_symtab): Fix indentation.
1383
1384 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1385
1386 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1387 (valarith.o): Depend on dfp.h.
1388 (valops.o): Likewise.
1389 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1390 (set_decnumber_context): New function.
1391 (decimal_check_errors): Likewise.
1392 (decimal_from_number): Likewise.
1393 (decimal_to_number): Likewise.
1394 (decimal_from_string): Use set_decnumber_context and
1395 decimal_check_errors.
1396 (decimal_from_integral): New function.
1397 (decimal_from_floating): Likewise.
1398 (decimal_to_double): Likewise.
1399 (promote_decimal): Likewise.
1400 (decimal_binop): Likewise.
1401 (decimal_is_zero): Likewise.
1402 (decimal_compare): Likewise.
1403 (decimal_convert): Likewise.
1404 * dfp.h (decimal_from_integral): New prototype.
1405 (decimal_from_floating): Likewise.
1406 (decimal_to_double): Likewise.
1407 (decimal_binop): Likewise.
1408 (decimal_is_zero): Likewise.
1409 (decimal_compare): Likewise.
1410 (decimal_convert): Likewise.
1411 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1412 call to value_from_decfloat.
1413 * valarith.c: Include dfp.h.
1414 (value_args_as_decimal): New function.
1415 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1416 (value_logical_not): Likewise.
1417 (value_equal): Likewise.
1418 (value_less): Likewise.
1419 (value_pos): Likewise.
1420 (value_neg): Formatting fix.
1421 * valops.c: Include dfp.h.
1422 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1423 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1424 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1425 (value_from_decfloat): Remove expect_type argument.
1426 * value.h (value_from_decfloat): Update prototype.
1427
1428 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
1429
1430 Ignore change in name of dynamic linker during
1431 execution on Solaris. This also unbreaks pending breakpoints.
1432
1433 * solist.h (struct target_so_ops): New field same.
1434 * solib-svr4.c (svr4_same): New.
1435 (_initialize_svr4_solib): Register svr4_same.
1436 * solib.c (update_solib_list): Use ops->same, if available.
1437
1438 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
1439
1440 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1441 when using MS-DOS paths.
1442
1443 2008-01-05 Pedro Alves <pedro@codesourcery.com>
1444
1445 * NEWS: Mention --pid and --core command line behaviour changes.
1446
1447 2008-01-05 Pedro Alves <pedro@codesourcery.com>
1448
1449 * main.c (captured_main): Remove 'count' varible and the
1450 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
1451 --pid options were issued simultaneously. If an explicit pid
1452 option was passed, don't fallback to core file. Detect extra
1453 arguments better in the presence of explicit pid or core
1454 arguments.
1455
1456 2008-01-05 Joel Brobecker <brobecker@adacore.com>
1457
1458 * ada-lang.c (ada_which_variant_applies): Correctly compute
1459 the value of the discriminant when the variant record is packed.
1460
1461 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1462
1463 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1464 that are used to differentiate homonyms.
1465
1466 2008-01-04 Jerome Guitton <guitton@adacore.com>
1467
1468 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1469 when the type is an anonymous pointer type.
1470 (ada_check_typedef): Avoid a seg fault when the type is null.
1471 * ada-typeprint.c (print_array_type): Add support for pointer
1472 to packed arrays.
1473
1474 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
1475
1476 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1477
1478 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1479
1480 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1481 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1482
1483 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1484
1485 * ada-exp.y (chop_separator): New function.
1486 (write_selectors): Rewrite to re-use chop_separator.
1487 (ada_nget_field_index, get_symbol_field_type): New functions.
1488 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1489 expressions.
1490
1491 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
1492
1493 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1494 of SYMBOL_VALUE when working with function symbols.
1495
1496 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1497
1498 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1499 expressions. These expressions do not need to be rewriten.
1500
1501 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1502
1503 * dwarf2read.c (read_enumeration_type): Flag type as stub if
1504 the given die is a declaration.
1505
1506 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1507
1508 * ada-lang.c (ada_array_bound_from_type): Make non-static.
1509 Handle properly the case when the index type is an enumerated type.
1510 Do not return the subtype of the bounds type, just return the
1511 bounds type directly - this is not needed and is more consistent
1512 with what we do for arrays when no XA parallel type exists.
1513
1514 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1515
1516 * ada-lang.c (static_unwrap_type): Add forward declaration.
1517 (template_to_static_fixed_type): Fields of dynamic types sometimes
1518 also need to be unwrapped. Take this into account.
1519 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1520 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1521 * ada-typeprint.c (ada_print_type): Get the typename from
1522 the original type, not the base type.
1523
1524 2008-01-03 Jerome Guitton <guitton@adacore.com>
1525
1526 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1527 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1528 Update calls to ada_to_fixed_type.
1529 (ada_template_to_fixed_record_type_1): Ditto, but without looking
1530 for the tag.
1531 (ada_to_fixed_type): Add check_tag parameter; do not look for
1532 tag if null. When looking for a tag, use a fixed record type.
1533 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1534 * ada-valprint.c (printable_val_type, ada_value_print): Update
1535 calls to ada_to_fixed_type.
1536
1537 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
1538
1539 * doublest.c (convert_floatformat_to_doublest): Call
1540 floatformat_to_doublest instead of floatformat_to_double and use
1541 DOUBLEST variables.
1542 (convert_doublest_to_floatformat): Call floatformat_from_doublest
1543 instead of floatformat_from_double and use DOUBLEST variables.
1544
1545 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
1546
1547 * MAINTAINERS (Write After Approval): Add self.
1548
1549 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1550
1551 * symfile.c (set_initial_language): Make non-static.
1552 * symfile.h (set_initial_language): Add declaration.
1553 * language.c: #include "symfile.h".
1554 (set_language): Call set_initial_language if the frame language
1555 could not be determined.
1556
1557 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
1558
1559 * eval.c (evaluate_subexp_for_address): Provide frame address to
1560 locate_var_value only if it will be needed.
1561
1562 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1563
1564 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1565
1566 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1567
1568 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1569 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1570 This is needed to make sure that any other treatment applied
1571 to the resulting value does not fail for spurious reason,
1572 such as trying to take the address of this value.
1573
1574 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1575
1576 * ada-lang.c (ada_value_equal): Dereference reference types when
1577 comparing arrays.
1578
1579 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
1580
1581 Updated copyright notices for most files.
1582
1583 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
1584
1585 * win32-nat.c (psapi_module_handle): Remove static.
1586 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
1587 return first module found if base_address is zero. Don't initialize
1588 psapi function pointers here. Convert to cygwin paths when
1589 appropriate.
1590 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1591 executable name. Use get_module_name when that fails or when
1592 !__CYGWIN__.
1593 (_initialize_psapi): New function. Initialize psapi stuff before it is
1594 needed or issue a warning if it is not found. Move psapi_module_handle
1595 here.
1596
1597 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1598
1599 * ada-lang.c (ada_remove_trailing_digits): New function.
1600 (ada_remove_po_subprogram_suffix): New function.
1601 (ada_decode): Improve. Move the description of the algorithm
1602 directly inside the code, instead of in the function global
1603 description.
1604
1605 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1606
1607 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1608 and always print the dereferenced value.
1609
1610 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1611
1612 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1613 of the case where the first argument is a reference.
1614 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1615
1616 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1617
1618 Implement support for Ada interface types.
1619
1620 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1621 (ada_is_ignored_field): Ignore fields that are a dispatch table
1622 of a tagged type.
1623
1624 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1625
1626 * top.c (print_gdb_version): Update copyright year.
1627
1628 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1629
1630 * ChangeLog-2007: New ChangeLog rotation.
1631 * ChangeLog: Reset for 2008.
1632 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1633 ChangeLog-2007.
1634
1635 For older changes see ChangeLog-2007.
1636 \f
1637 Local Variables:
1638 mode: change-log
1639 left-margin: 8
1640 fill-column: 74
1641 version-control: never
1642 coding: utf-8
1643 End:
This page took 0.066824 seconds and 4 git commands to generate.