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