Commit | Line | Data |
---|---|---|
03ac34d5 MS |
1 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
2 | ||
3 | * breakpoint.c (set_ignore_count): Move misplaced comment | |
4 | back where it belongs. | |
5 | ||
e00d1dc8 AC |
6 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
7 | ||
8 | * command.h (NO_FUNCTION): Delete macro. | |
9 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
10 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
11 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
12 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
13 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
14 | ||
76b79d6e DJ |
15 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
16 | ||
17 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
18 | Update ``this'' pointer when calling virtual functions. | |
19 | ||
799f9e91 MS |
20 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
21 | ||
c7bd442c | 22 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
23 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
24 | ||
3cf384d4 DJ |
25 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
26 | ||
27 | * regformats/reg-arm.dat: New file. | |
28 | * regformats/reg-i386.dat: New file. | |
29 | * regformats/reg-ia64.dat: New file. | |
30 | * regformats/reg-m68k.dat: New file. | |
31 | * regformats/reg-mips.dat: New file. | |
32 | * regformats/reg-ppc.dat: New file. | |
33 | * regformats/reg-sh.dat: New file. | |
34 | * regformats/regdef.h: New file. | |
35 | * regformats/regdat.sh: New file. | |
36 | ||
0defa245 RE |
37 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
38 | ||
39 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
40 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
41 | (arm_frame_num_args): New function. | |
42 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
43 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
44 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
45 | ||
405f26e6 MS |
46 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
47 | ||
502fd408 MS |
48 | * breakpoint.c (break_at_finish_command): Export. |
49 | (break_at_finish_at_depth_command): Export. | |
50 | (tbreak_at_finish_command): Export. | |
51 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
52 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
53 | "tbreak" commands, which are HPPA specific. | |
54 | ||
7d35e135 MS |
55 | * printcmd.c (disassemble_command): Remove an ancient |
56 | artifact of an old merge. | |
57 | ||
d874f1e2 MS |
58 | * symfile.h (enum overlay_debugging_state): |
59 | Define enum constant values for overlay mode. | |
60 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
61 | (overlay_is_mapped, overlay_auto_command, | |
62 | overlay_manual_command): Ditto. | |
63 | ||
9f04af04 MS |
64 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
65 | breakpoint_here_p, breakpoint_inserted_here_p, | |
66 | breakpoint_thread_match, bpstat_stop_status, | |
67 | describe_other_breakpoints, check_duplicates, clear_command): | |
68 | Coding standard fixes. | |
69 | ||
8add0441 | 70 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 71 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
72 | code: check bfd SEC_READONLY flag for section. |
73 | ||
e351066e AC |
74 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
75 | ||
7d35e135 | 76 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 77 | |
8a48e967 DJ |
78 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
79 | ||
80 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
81 | data symbols, since we search based on textlow and texthigh. | |
82 | (find_pc_sect_symtab): Likewise. | |
83 | ||
f5a96129 AC |
84 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
85 | ||
86 | * defs.h (vwarning): Declare. | |
87 | (warning_begin): Delete declaration. | |
88 | * utils.c (vwarning): New function. | |
89 | (warning): Call vwarning. | |
90 | (warning_begin): Delete function. | |
91 | ||
92 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
93 | the warning message. | |
94 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
95 | warning_begin. | |
96 | ||
cefd4ef5 MS |
97 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
98 | ||
1a703748 MS |
99 | * NEWS: Mention "set trust-readonly-sections" command. |
100 | Mention generate-core-file command. | |
cefd4ef5 | 101 | |
3a11626d MS |
102 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
103 | ||
104 | * target.c: New command, "set trust-readonly-sections on". | |
105 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
106 | by reading them from the object file instead of from the target. | |
107 | (initialize_targets): Register command "set trust-readonly-sections". | |
108 | ||
d1c7e53b AC |
109 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
110 | ||
111 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
112 | pseudo-regs using a single loop. | |
113 | ||
e2c9a72c AC |
114 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
115 | ||
116 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
117 | ||
69824b4e MK |
118 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
119 | ||
120 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
121 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
122 | * i386v4-nat.c: Include i387-nat.h. | |
123 | (supply_fpregset): Use i387_supply_fsave. | |
124 | (fill_fpregset): Use i387_fill_fsave. | |
125 | ||
6eb69eab RE |
126 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
127 | ||
128 | * arm-tdep.c (arm_call_dummy_words): Define. | |
129 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
130 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
131 | (CALL_DUMMY_WORDS): Define. | |
132 | (arm_call_dummy_words): Declare. | |
133 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
134 | (arm_linux_call_dummy_words): Declare. | |
135 | ||
9852326a AS |
136 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
137 | ||
138 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
139 | instead of referencing registers[] directly. | |
140 | ||
977a3030 AC |
141 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
142 | ||
143 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
144 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
145 | ||
2076c72b MS |
146 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
147 | ||
148 | * regcache.c (legacy_read_register_gen): Need to be able to | |
149 | read pseudo-register as well as real register. | |
150 | (legacy_write_register_gen): Ditto. | |
151 | ||
8fcc723b AC |
152 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
153 | ||
154 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
155 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
156 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
157 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
158 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
159 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
160 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
161 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
162 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
163 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
164 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
165 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
166 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
167 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
168 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
169 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
170 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
171 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
172 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
173 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
174 | ||
afe64c1a AC |
175 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
176 | ||
177 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
178 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
179 | (initialize_current_architecture): Update target_byte_order using | |
180 | information from BFD. | |
181 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): | |
182 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): | |
183 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. | |
184 | ||
75bc7ddf AC |
185 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
186 | ||
187 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
188 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
189 | ||
190 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
191 | #ifdef INVALID_FLOAT. | |
192 | * infcmd.c (do_registers_info): Ditto. | |
193 | * values.c (unpack_double): Ditto. Add comment. | |
194 | ||
195 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
196 | already commented out. | |
197 | ||
0280a90a AS |
198 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
199 | ||
200 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
201 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
202 | registers and add support for PTRACE_GETREGS. | |
203 | ||
7072a954 AC |
204 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
205 | ||
206 | GDB 5.1.1 released from 5.1 branch. | |
207 | * NEWS: Add 5.1.1 news. | |
208 | * README: Sync with 5.1 branch. | |
209 | ||
86f902e0 FF |
210 | 2002-01-23 Fred Fish <fnf@redhat.com> |
211 | ||
212 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
213 | stabstring on initial malloc. Reallocing will copy it for us, | |
214 | if necessary. | |
215 | ||
8af51c36 EZ |
216 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
217 | ||
218 | * Makefile.in (hpread_h): Delete. | |
219 | (HFILES_NO_SRCDIR): Remove hpread.h. | |
220 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
221 | (hpread.o): Update dependencies. | |
222 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
223 | ||
224 | * hp-psymtab-read.c: Remove file. | |
225 | * hp-symtab-read.c: Remove file. | |
226 | * hpread.h: Remove file. | |
227 | ||
228 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
229 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
230 | January 1999. | |
231 | ||
232 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
233 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, | |
234 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): | |
235 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
236 | ||
dc5cfeb6 EZ |
237 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
238 | ||
239 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
240 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
241 | variable and use that, instead of calling the function several | |
242 | times. | |
243 | ||
ea87b71b AO |
244 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
245 | ||
246 | * configure.host: Accept sparcv9 as alias for sparc64. | |
247 | * configure.tgt: Likewise. | |
248 | ||
13fc0c2f KB |
249 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
250 | ||
251 | * solib-aix5.c (build_so_list_from_mapfile) | |
252 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
253 | arguments is not reversed. | |
254 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
255 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
256 | ||
7bd872fe EZ |
257 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
258 | ||
259 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
260 | modified version of obsolete sh_fetch_pseudo_register. | |
261 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
262 | (sh4_register_read): New function. | |
263 | (sh_pseudo_register_write): New function. Renamed and modified | |
264 | version of obsolete sh_store_pseudo_register. | |
265 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
266 | (sh4_register_write): New function. | |
267 | (sh_gdbarch_init): Remove setting of gdbarch function | |
268 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
269 | register_convert_to_raw, register_convert_to_virtual, | |
270 | register_convertible. | |
271 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
272 | taken care by architecture specific functions | |
273 | register_read/register_write. | |
274 | (sh_sh4_register_convert_to_virtual): Make static. | |
275 | (sh_sh4_register_convert_to_raw): Ditto. | |
276 | ||
069e84fd AC |
277 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
278 | ||
279 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
280 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
281 | ||
282 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
283 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
284 | builtin_type_ieee_double_little, | |
285 | builtin_type_ieee_double_littlebyte_bigword, | |
286 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
287 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
288 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
289 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
290 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
291 | ||
211a4f69 CV |
292 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
293 | ||
294 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
295 | parameter. Set frameless flag if it exists and depended of | |
296 | whether the scanned function is frameless or not. | |
297 | (xstormy16_skip_prologue): If function is frameless, return | |
298 | result of xstormy16_scan_prologue(). | |
299 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
300 | call. | |
301 | ||
f81353e4 EZ |
302 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
303 | ||
304 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
305 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
306 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
307 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
308 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
309 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
310 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
311 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
312 | gdbarch_tdep() just once, assign result to variable and use that, | |
313 | instead of calling the function several times. | |
314 | ||
63c73a17 MK |
315 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
316 | ||
317 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
318 | macros instead of LAST_FPU_CTRL_REGNUM. | |
319 | (store_register): Likewise. | |
320 | ||
39ad761d JB |
321 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
322 | ||
323 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
324 | is up-to-date before running the program, not just when a program | |
325 | exits. | |
326 | ||
3d74b771 FF |
327 | 2002-01-21 Fred Fish <fnf@redhat.com> |
328 | ||
329 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
330 | when we have found all instructions we are looking for. | |
331 | ||
966fbf70 RE |
332 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
333 | ||
334 | * arm-tdep.c (arm_register_name): New function. | |
335 | (arm_registers_names): Make static. | |
336 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
337 | (arm_register_name): Declare. | |
338 | (REGISTER_NAME): Use it. | |
339 | ||
c3b4394c RE |
340 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
341 | Kevin Buettner <kevinb@redhat.com> | |
342 | ||
343 | Convert arm targets to new FRAME interface. | |
344 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
345 | (arm_frame_find_save_regs): Delete. | |
346 | (arm_frame_init_saved_regs): New. | |
347 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
348 | Allocate extra_info as required. Convert all uses of fsr.regs | |
349 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
350 | to use extra_info. | |
351 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
352 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
353 | (check_prologue_cache, save_prologue_cache): Likewise. | |
354 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
355 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
356 | (FRAME_FIND_SAVED_REGS): Delete. | |
357 | (arm_frame_find_saved_regs): Delete prototype. | |
358 | (arm_frame_init_saved_regs): New prototype. | |
359 | (FRAME_INIT_SAVED_REGS): Define. | |
360 | ||
61d99182 AC |
361 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
362 | ||
363 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
364 | ||
6aaea291 AC |
365 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
366 | ||
367 | From Jeff Law <law@redhat.com>: | |
368 | * infttrace.c: Include <sys/pstat.h>. | |
369 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
370 | exec file if the ttrace equivalent fails. | |
371 | ||
15f698d2 AC |
372 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
373 | ||
374 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
375 | (closeLogFile): Ditto. | |
376 | ||
f86ddd7c MC |
377 | 2002-01-20 Michael Chastain <mec@shout.net> |
378 | ||
379 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
380 | ||
904507ce AC |
381 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
382 | ||
383 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
384 | Zannoni and Eli Zaretskii. | |
385 | ||
d7f0b9ce DJ |
386 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
387 | ||
388 | * buildsym.c: Update copyright years. | |
389 | * c-typeprint.c: Likewise. | |
390 | * dwarf2read.c: Likewise. | |
391 | * f-typeprint.c: Likewise. | |
392 | * gdbtypes.c: Likewise. | |
393 | * gdbtypes.h: Likewise. | |
394 | * hp-symtab-read.c: Likewise. | |
395 | * hpread.c: Likewise. | |
396 | * mdebugread.c: Likewise. | |
397 | * p-typeprint.c: Likewise. | |
398 | ||
3fd3d7d2 AC |
399 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
400 | ||
401 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
402 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
403 | byte-order selectable. | |
404 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
405 | * arch-utils.c: Ditto. | |
406 | (set_endian): Ditto. | |
407 | (set_endian_from_file): Ditto. | |
408 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
409 | * gdbarch.sh: Ditto. | |
410 | * gdbarch.h: Re-generate. | |
411 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
412 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
413 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
414 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
415 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
416 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
417 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
418 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
419 | macro definition. | |
420 | * config/mips/tm-wince.h: Remove #undef of macro | |
421 | TARGET_BYTE_ORDER_SELECTABLE. | |
422 | * config/sh/tm-wince.h: Ditto. | |
423 | ||
b02dede2 DJ |
424 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
425 | ||
426 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
427 | member function fields. Add accessor macro | |
428 | TYPE_FN_FIELD_ARTIFICIAL. | |
429 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
430 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
431 | functions. | |
432 | ||
c3643761 DJ |
433 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
434 | ||
435 | * f-typeprint.c: Delete unused function f_type_print_args. | |
436 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
437 | ||
8176bb6d DJ |
438 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
439 | ||
440 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
441 | comment. Add ``artificial'' to ``union field_location''. | |
442 | ||
443 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
444 | ||
445 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
446 | * mdebugread.c (parse_symbol): Likewise. | |
447 | * stabsread.c (define_symbol): Likewise. | |
448 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
449 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
450 | (hpread_doc_function_type): Likewise. | |
451 | * hpread.c (hpread_function_type): Likewise. | |
452 | ||
7fd60527 AC |
453 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
454 | ||
455 | * configure.in (host_makefile_frag): Only require a host makefile | |
456 | fragment when a native build. | |
457 | * configure: Re-generate. | |
458 | ||
c2f05ac9 AC |
459 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
460 | ||
461 | * doublest.h (floatformat_from_type): Declare. | |
462 | * doublest.c (floatformat_from_type): New function. | |
463 | (convert_typed_floating): Use. | |
464 | ||
465 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
466 | call to function floatformat_from_type. | |
467 | ||
468 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
469 | * gdbarch.h, gdbarch.c: Re-generate. | |
470 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
471 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
472 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
473 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
474 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
475 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
476 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
477 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
478 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
479 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
480 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
481 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
482 | ||
483 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
484 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
485 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
486 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
487 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
488 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
489 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
490 | ||
abf22e64 AJ |
491 | 2002-01-20 Jiri Smid <smid@suse.cz> |
492 | ||
493 | * configure.host, configure.tgt: Support x86-64. | |
494 | * NEWS: Note new target x86-64. | |
495 | ||
b7c4cbf8 AJ |
496 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
497 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
498 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
499 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
500 | x86-64-linux-nat.o): Fix dependencies. | |
501 | ||
82600034 AC |
502 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
503 | ||
504 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
505 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
506 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
507 | * config/sparc/xm-sun4os4.h: Delete file. | |
508 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 509 | |
bbe5c628 AC |
510 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
511 | ||
512 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
513 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
514 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
515 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
516 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
517 | * config/sparc/xm-sparclynx.h: Delete file. | |
518 | * config/m68k/xm-m68klynx.h: Delete file. | |
519 | * config/i386/xm-i386lynx.h: Delete file. | |
520 | * config/xm-lynx.h: Delete file. | |
521 | * config/djgpp/fnchange.lst: Update. | |
522 | ||
f8453e34 JT |
523 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
524 | ||
525 | * alpha-tdep.c (alpha_register_byte): New function. | |
526 | (alpha_register_raw_size): Ditto. | |
527 | (alpha_register_virtual_size): Ditto. | |
528 | (alpha_skip_prologue_internal): Renamed from | |
529 | alpha_skip_prologue. | |
530 | (alpha_skip_prologue): New version that calls | |
531 | alpha_skip_prologue_internal. | |
532 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
533 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
534 | second argument from alpha_skip_prologue. | |
535 | (REGISTER_BYTE): Use alpha_register_byte. | |
536 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
537 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
538 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
539 | generic_frameless_function_invocation_not. | |
540 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
541 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
542 | ||
52d9e613 AC |
543 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
544 | ||
545 | * config/mips/xm-news-mips.h: Delete file. | |
546 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
547 | ||
548 | * config/m88k/xm-m88k.h: Delete file. | |
549 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
550 | * config/m88k/xm-delta88v4.h: Ditto. | |
551 | * config/m88k/xm-delta88.h: Ditto. | |
552 | ||
553 | * config/alpha/xm-fbsd.h: Delete file. | |
554 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
555 | ||
556 | * config/sparc/xm-sparc.h: Delete file. | |
557 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
558 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
559 | * config/sparc/xm-sun4os4.h: Ditto. | |
560 | * config/sparc/xm-linux.h: Ditto. | |
561 | ||
562 | * config/i386/xm-windows.h: Delete file. | |
563 | ||
2d1b2124 AC |
564 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
565 | ||
566 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
567 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
568 | ||
ee1f65f0 JT |
569 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
570 | ||
571 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
572 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
573 | (CALL_DUMMY_P): Define. | |
574 | (CALL_DUMMY_WORDS): Define. | |
575 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
576 | ||
98081e55 PB |
577 | 2002-01-19 Per Bothner <per@bothner.com> |
578 | ||
579 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
580 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
581 | ||
0d056799 JT |
582 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
583 | ||
584 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
585 | (alpha_init_frame_pc_first): Ditto. | |
586 | (alpha_fix_call_dummy): Ditto. | |
587 | (alpha_store_struct_return): Ditto. | |
588 | (alpha_extract_struct_value_address): Ditto. | |
589 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
590 | alpha_register_virtual_type. | |
591 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
592 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
593 | alpha_extract_struct_value_address. | |
594 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
595 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
596 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
597 | ||
4604bcad MK |
598 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
599 | ||
600 | * i386gnu-nat.c: Include "i386-tdep.h". | |
601 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
602 | point states such that it doesn't require FP7_REGNUM. | |
603 | ||
140f9984 JT |
604 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
605 | ||
abf22e64 AJ |
606 | * alpha-tdep.c (frame_extra_info): New. |
607 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
608 | frame->extra_info. |
609 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
610 | (alpha_frame_saved_pc): Use frame->extra_info. |
611 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
612 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
613 | (init_extra_frame_info): Rename to... |
614 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 615 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
616 | (alpha_frame_locals_address): Ditto. |
617 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 618 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
619 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
620 | alpha_frame_args_address. | |
abf22e64 | 621 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 622 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
623 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
624 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
625 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
626 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
627 | ||
d734c450 JT |
628 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
629 | ||
630 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
631 | (alpha_cannot_fetch_register): Ditto. | |
632 | (alpha_cannot_store_register): Ditto. | |
633 | (alpha_register_convertible): Ditto. | |
634 | (alpha_use_struct_convention): Ditto. | |
635 | * config/alpha/tm-alpha.h: Update copyright years. | |
636 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
637 | (INNER_THAN): Use core_addr_lessthan. | |
638 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
639 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
640 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
641 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
642 | (FRAME_CHAIN): Remove unnecessary cast. | |
643 | ||
b4ceaee6 AC |
644 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
645 | ||
646 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
647 | obsolete. | |
648 | ||
0a65a603 AC |
649 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
650 | ||
651 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
652 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
653 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
654 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
655 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
656 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
657 | * x86-64-linux-nat.c: Ditto. | |
658 | ||
636a6dfc JT |
659 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
660 | ||
abf22e64 | 661 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
662 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
663 | (REGISTER_NAME): Define. | |
664 | ||
acceddb6 JT |
665 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
666 | ||
667 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
668 | ||
ec32e4be JT |
669 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
670 | ||
671 | * alpha-tdep.c: Update copyright years. | |
672 | (alpha_next_pc): New function. | |
673 | (alpha_software_single_step): Ditto. | |
674 | * config/alpha/tm-alpha.h: Add prototype for | |
675 | alpha_software_single_step. | |
676 | ||
e771a871 JT |
677 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
678 | ||
679 | * alphabsd-nat.c: Update copyright years. | |
680 | (fill_gregset): Use regcache_collect. | |
681 | (fill_fpregset): Likewise. | |
682 | (fetch_inferior_registers): Only fetch integer registers | |
683 | if requested to do so. | |
684 | (store_inferior_registers): Only store integer registers | |
685 | if requested to do so. | |
686 | ||
7708fa01 AC |
687 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
688 | ||
689 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
690 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
691 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
692 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
693 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
694 | * config/arm/linux.mh (XDEPFILES): Delete. | |
695 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
696 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
697 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
698 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
699 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
700 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
701 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
702 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
703 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
704 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
705 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
706 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
707 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
708 | * config/i386/go32.mh (XDEPFILES): Delete. | |
709 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
710 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
711 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
712 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
713 | * config/i386/linux.mh (XDEPFILES): Delete. | |
714 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
715 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
716 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
717 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
718 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
719 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
720 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
721 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
722 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
723 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
724 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
725 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
726 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
727 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
728 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
729 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
730 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
731 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
732 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
733 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
734 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
735 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
736 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
737 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
738 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
739 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
740 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
741 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
742 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
743 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
744 | * config/mips/linux.mh (XDEPFILES): Delete. | |
745 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
746 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
747 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
748 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
749 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
750 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
751 | (NATDEPFILES): Move core-aout.o to here. | |
752 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
753 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
754 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
755 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
756 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
757 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
758 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
759 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
760 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
761 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
762 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
763 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
764 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
765 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
766 | * config/s390/s390.mh (XDEPFILES): Delete. | |
767 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
768 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
769 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
770 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
771 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
772 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
773 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
774 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
775 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
776 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
777 | ||
375fc983 AC |
778 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
779 | ||
780 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
781 | Update queries to match. Default to quit and dump core. | |
782 | ||
8926118c AC |
783 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
784 | ||
785 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
786 | copyright. | |
787 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
788 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
789 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
790 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
791 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
792 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
793 | * mi/mi-main.c:Ditto. | |
794 | ||
795 | * stack.c, symfile.c: Update copyright. | |
796 | ||
45b7b345 DJ |
797 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
798 | ||
db728ff7 DJ |
799 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
800 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
801 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
802 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 803 | |
db728ff7 DJ |
804 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
805 | ||
806 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
807 | * gdbserver/low-lynx.c (myattach): Likewise. | |
808 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
809 | * gdbserver/low-sim.c (myattach): Likewise. | |
810 | * gdbserver/low-sparc.c (myattach): Likewise. | |
811 | * gdbserver/low-sun3.c (myattach): Likewise. | |
812 | ||
813 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 814 | |
db728ff7 | 815 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
816 | (main): Handle "--attach". |
817 | ||
8de3c354 AC |
818 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
819 | ||
820 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
821 | maintainer. | |
822 | ||
b0129042 DJ |
823 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
824 | ||
825 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
826 | check for non-conversion operators. | |
827 | ||
ba8679fb | 828 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
829 | |
830 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
831 | (read_mapping): New function, abstract and re-use code. | |
832 | (linux_find_memory_regions): Use new func read_mapping. | |
833 | (linux_info_proc_cmd): New function, implement "info proc". | |
834 | (_initialize_linux_proc): Add new command "info proc". | |
835 | ||
e4f9b4d5 MS |
836 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
837 | ||
838 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
839 | instead of manipulating bfd structure members directly. | |
840 | (add_section_size_callback): New function, bfd sections callback | |
841 | used by generic_load. | |
842 | (load_sections_callback): New function, bfd sections callback | |
843 | used by generic_load. | |
844 | ||
08cf96df EZ |
845 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
846 | ||
abf22e64 | 847 | [Based on work by Jim Blandy] |
08cf96df EZ |
848 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
849 | (builtin_type_vec128): Export. | |
850 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
851 | types. | |
852 | (builtin_type_vec128): New builtin type for 128 bit vector | |
853 | registers. | |
854 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
855 | builtin_type_v8hi. Create the vec128 register builtin type | |
856 | structure. | |
857 | (build_builtin_type_vec128): New function. | |
abf22e64 | 858 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
859 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
860 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
861 | AltiVec register to new builtin type. | |
862 | ||
d7242108 DJ |
863 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
864 | ||
865 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
866 | to make_cv_type. | |
867 | ||
4ee3352d AC |
868 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
869 | ||
870 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
871 | CLEAN_UP_REGISTER_VALUE. | |
872 | * regcache.c (supply_register): Update only call. | |
873 | ||
f015b2e7 AC |
874 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
875 | ||
876 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
877 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
878 | a29k-*-vxworks* targets as obsolete. | |
879 | ||
356ae49d MS |
880 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
881 | ||
882 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
883 | until we can resolve portability issues. | |
884 | * gregset.h: Remove references to fpxregs. | |
885 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
886 | ||
ade8f45e AC |
887 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
888 | ||
889 | * signals.c (target_signal_to_name): Rewrite. Only use | |
890 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 891 | |
89c49e7a AC |
892 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
893 | ||
894 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
895 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
896 | bounds of the signals array. | |
897 | ||
4daa9f9f AC |
898 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
899 | ||
900 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
901 | ||
ba4bbdcb KS |
902 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
903 | ||
904 | * stack.c (print_frame_info_base): Print the frame's pc | |
905 | only if when print_frame_info_listing_hook is not defined. | |
906 | ||
575bbeb6 KS |
907 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
908 | ||
909 | * varobj.c (varobj_set_value): Make sure that there were no | |
910 | errors evaluating the object before attempting to set its | |
911 | value. | |
912 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
913 | so this offset adjustment is no longer necessary. | |
914 | (create_child): Don't set the error flag if the child is | |
915 | a CPLUS_FAKE_CHILD. | |
916 | (value_of_child): If value_fetch_lazy fails, return NULL | |
917 | so that callers will be notified that an error occurred. | |
918 | (c_value_of_variable): Delay check of variable's validity | |
919 | until later. We actually want all structs and unions to have | |
920 | the value "{...}". | |
921 | Do not return "???" for variables which could not be evaluated. | |
922 | This error condition must be returned to the caller so that it | |
923 | can get the error condition from gdb. | |
924 | (cplus_name_of_child): Adjust index for vptr before figuring | |
925 | out the name of the child. | |
926 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
927 | don't even bother trying to give a value for it. Just return | |
928 | an error. Change all instances in this function. | |
929 | (cplus_type_of_child): If our parent is one of the "fake" | |
930 | parents, we need to get at the type of the real parent, and | |
931 | derive the child's true type using this information. | |
932 | ||
b76898ab AC |
933 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
934 | ||
935 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
936 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
937 | sources.redhat.com, and tweak some related URLs which had | |
938 | suffered from linkrot. | |
939 | ||
b6649e88 AC |
940 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
941 | ||
942 | From Jeff law: | |
943 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
944 | structures passed in registers. | |
945 | ||
82cc5033 EZ |
946 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
947 | ||
948 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
949 | white space which prevented compilation. Reported by DSK | |
950 | <dsk@student.unsw.edu.au>. | |
951 | ||
ba5f2f8a MS |
952 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
953 | ||
fbd35540 MS |
954 | * symfile.c (build_section_addr_info_from_section_tab): |
955 | Use bfd access method instead of manipulating bfd directly. | |
956 | (syms_from_objfile): Ditto. | |
957 | (simple_overlay_update_1): Ditto. | |
958 | (simple_overlay_update): Ditto. | |
959 | (generic_load): Ditto. | |
960 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
961 | (sections_overlap): FIXME comment, bfd access methods. | |
962 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
963 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
964 | (section_is_mapped): FIXME comment, bfd access methods. | |
965 | (section_is_overlay): FIXME comment, bfd access methods. | |
966 | ||
ba5f2f8a MS |
967 | * symfile.c (generic_load): Whitespace and long line cleanups. |
968 | Remove duplicate variable, change several local variables to | |
969 | more appropriate data types. | |
970 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
971 | ||
17df2af6 AC |
972 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
973 | ||
974 | From Peter Schauer: | |
975 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
976 | convert NUM to a hex string. | |
977 | ||
ec920329 EZ |
978 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
979 | ||
980 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
981 | the function. | |
538a76d6 | 982 | Update Copyright year. |
ec920329 | 983 | |
3abd2e01 AC |
984 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
985 | ||
986 | * language.c (longest_raw_hex_string): Delete unused function. | |
987 | ||
b21b22e0 PS |
988 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
989 | ||
990 | * MAINTAINERS (write-after-approval): Add myself. | |
991 | * dwarf2read.c (read_tag_string_type): Handling of | |
992 | DW_AT_byte_size. | |
993 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
994 | first string size. | |
995 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
996 | ||
747fe712 RE |
997 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
998 | ||
999 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
1000 | GETPID(inferior_ptid). | |
1001 | (store_inferior_registers): Likewise. | |
1002 | ||
f1bea926 JM |
1003 | 2002-01-10 Jason Merrill <jason@redhat.com> |
1004 | ||
1005 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
1006 | Fix DW_OP_minus. | |
1007 | ||
ae940673 AC |
1008 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
1009 | ||
1010 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
1011 | and bfd/elf32-sh-nbsd.c. | |
1012 | ||
00546b04 MS |
1013 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
1014 | ||
352ed7b4 MS |
1015 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
1016 | ||
c18be923 MS |
1017 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
1018 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
1019 | ||
00546b04 MS |
1020 | * main.c (captured_main): Add new command line option "--pid". |
1021 | If the second command line argument (following the symbol-file) | |
1022 | begins with a digit, try to attach to it before trying to open | |
1023 | it as a corefile. | |
1024 | (print_gdb_help): Document the "--pid" argument. | |
1025 | ||
db60ec62 EZ |
1026 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
1027 | ||
1028 | * completer.c (command_completer): New function. | |
1029 | ||
1030 | * completer.h <command_completer>: Add prototype. | |
1031 | ||
1032 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
1033 | completer for the "help" command. | |
1034 | ||
39c22d1a JM |
1035 | 2002-01-09 Jason Merrill <jason@redhat.com> |
1036 | ||
1037 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
1038 | ||
c564377f MS |
1039 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
1040 | ||
975aec09 MS |
1041 | * i386-linux-nat.c (fill_fpxregset): Make global. |
1042 | (store_fpxregset): Ditto. | |
1043 | ||
db4a10fa MS |
1044 | * gregset.h (gdb_fpxregset_t): Define. |
1045 | (supply_fpxregset): Prototype. | |
1046 | (fill_fpxregset): Prototype. | |
1047 | ||
c564377f MS |
1048 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
1049 | ||
c3d45d70 RE |
1050 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1051 | ||
1052 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
1053 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
1054 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
1055 | ||
fcc87af1 AC |
1056 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
1057 | ||
1058 | * MAINTAINERS: Update target maintainer rules so that any | |
1059 | Maintainer can approve a tested patch for a maintenance-only | |
1060 | target. | |
1061 | ||
dd96c05b RE |
1062 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1063 | ||
d4297db9 | 1064 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 1065 | |
d4297db9 | 1066 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
1067 | IN_SIGTRAMP. |
1068 | ||
145fdc6e MS |
1069 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
1070 | ||
1071 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
1072 | real name of the executable, rather than the /proc name. | |
1073 | ||
be4d1333 MS |
1074 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
1075 | ||
1076 | Implement a "generate-core-file" command in gdb, save target state. | |
1077 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
1078 | Save a corefile image of the current state of the inferior. | |
1079 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
1080 | * target.h (struct target_ops): Add new target vectors for saving | |
1081 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
1082 | (target_find_memory_regions): New macro. | |
1083 | (target_make_corefile_notes): New macro. | |
1084 | * target.c (update_current_target): Inherit new target methods. | |
1085 | (dummy_find_memory_regions): New place-holder method. | |
1086 | (dummy_make_corefile_notes): New place-holder method. | |
1087 | (init_dummy_target): Initialize new dummy target vectors. | |
1088 | * exec.c (exec_set_find_memory_regions): New function. | |
1089 | Allow the exec_ops vector for memory regions to be taken over. | |
1090 | (exec_make_note_section): New function, target vector method. | |
1091 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
1092 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
1093 | (procfs_make_note_section): New function, corefile method. | |
1094 | (init_procfs_ops): Set new target vector pointers. | |
1095 | (find_memory_regions_callback): New function. | |
1096 | (procfs_do_thread_registers): New function. | |
1097 | (procfs_corefile_thread_callback): New function. | |
1098 | * sol-thread.c (sol_find_memory_regions): New function. | |
1099 | (sol_make_note_section): New function. | |
1100 | (init_sol_thread_ops): Initialize new target vectors. | |
1101 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
1102 | Allow to_find_memory_regions vector to be taken over. | |
1103 | (inftarg_set_make_corefile_notes): New function. | |
1104 | Allow to_make_corefile_notes vector to be taken over. | |
1105 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
1106 | interface layer if not target_has_execution (may be a corefile). | |
1107 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
1108 | * config/sparc/sun4sol2.mh: Ditto. | |
1109 | * config/alpha/alpha-linux.mh: Ditto. | |
1110 | * config/arm/linux.mh: Ditto. | |
1111 | * config/i386/x86-64linux.mh: Ditto. | |
1112 | * config/ia64/linux.mh: Ditto. | |
1113 | * config/m68k/linux.mh: Ditto. | |
1114 | * config/mips/linux.mh: Ditto. | |
1115 | * config/powerpc/linux.mh: Ditto. | |
1116 | * config/sparc/linux.mh: Ditto. | |
1117 | ||
c6b92abd MS |
1118 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1119 | ||
1120 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
1121 | (registers[] and register_valid[]). | |
1122 | ||
4b09dc8c MS |
1123 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1124 | ||
abf22e64 AJ |
1125 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
1126 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
1127 | symbol file and shlibs. |
1128 | * Makefile.in: Add rule for linux-proc.o. | |
1129 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
1130 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
1131 | * config/arm/linux.mh: Ditto. | |
1132 | * config/i386/linux.mh: Ditto. | |
1133 | * config/i386/x86-64linux.mh: Ditto. | |
1134 | * config/ia64/linux.mh: Ditto. | |
1135 | * config/m68k/linux.mh: Ditto. | |
1136 | * config/mips/linux.mh: Ditto. | |
1137 | * config/powerpc/linux.mh: Ditto. | |
1138 | * config/sparc/linux.mh: Ditto. | |
1139 | ||
c25b74ac PM |
1140 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
1141 | ||
1142 | * win32-nat.c: Add i386-tdep.h dependency. | |
1143 | ||
94cd915f MS |
1144 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1145 | ||
c7cccb76 MS |
1146 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
1147 | instead of bfd_get_arch_size. Don't bail out just because | |
1148 | there's no exec_bfd. | |
abf22e64 | 1149 | |
34c0bd93 MS |
1150 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
1151 | * p-valprint.c (pascal_object_print_value): Ditto. | |
1152 | * somread.c (som_symtab_read): Ditto. | |
1153 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
1154 | * valops.c (value_assign): Ditto. | |
1155 | ||
21c1c920 MS |
1156 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
1157 | use tilde_expand and strerror for opening save-tracepoints file. | |
1158 | ||
5bbd998e MS |
1159 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
1160 | ||
94cd915f MS |
1161 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
1162 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 1163 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
1164 | can be overridden with whatever value is appropriate to the host). |
1165 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
1166 | alloca to allocate potentially large buffer. | |
1167 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
1168 | * symm-nat.c (child_xfer_memory): Ditto. | |
1169 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
1170 | ||
494e8a93 JSC |
1171 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
1172 | ||
1173 | From Nick Clifton <nickc@redhat.com> | |
1174 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
1175 | ||
d0e1d48e MS |
1176 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1177 | ||
abf22e64 | 1178 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
1179 | Don't use exec_bfd if it's NULL. |
1180 | ||
290b2c7a MK |
1181 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
1182 | ||
abf22e64 | 1183 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 1184 | |
aef21287 AC |
1185 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1186 | ||
1187 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
1188 | * gnu-nat.c: Ditto. | |
1189 | ||
30efa627 AC |
1190 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1191 | ||
1192 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
1193 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
1194 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
1195 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
1196 | z8k-coff have not been multi-arched. Update z8k-coff build | |
1197 | status. | |
1198 | ||
9b4ff276 AC |
1199 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1200 | ||
1201 | * MAINTAINERS: Mark a29k target as obsolete. | |
1202 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
1203 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
1204 | comments. | |
1205 | * NEWS: Note that a29k targets are obsolete. | |
1206 | * a29k-tdep.c: Mark as obsolete. | |
1207 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
1208 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
1209 | a29k-*-vxworks* targets as obsolete. | |
1210 | * remote-adapt.c: Obsolete. | |
1211 | * remote-eb.c: Obsolete. | |
1212 | * remote-mm.c: Obsolete. | |
1213 | * remote-udi.c: Obsolete. | |
1214 | * config/a29k/a29k-udi.mt: Obsolete. | |
1215 | * config/a29k/a29k.mt: Obsolete. | |
1216 | * config/a29k/tm-a29k.h: Obsolete. | |
1217 | * config/a29k/tm-vx29k.h: Obsolete. | |
1218 | * config/a29k/vx29k.mt: Obsolete. | |
1219 | ||
a9011d31 AC |
1220 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1221 | ||
1222 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
1223 | with BFD_ENDIAN_BIG. | |
1224 | ||
9299404e AC |
1225 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1226 | ||
1227 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
1228 | * configure, config.in: Re-generate. | |
1229 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
1230 | * defs.h: Do not include <endian.h>. | |
1231 | ||
7e89e357 JT |
1232 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
1233 | ||
1234 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
1235 | * config.in: Regenerate. | |
1236 | * configure.in: Update copyright years. | |
1237 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
1238 | * configure: Regenerate. | |
1239 | * i386bsd-nat.c: Update copyright years. | |
1240 | (fill_gregset): Use regcache_collect. | |
1241 | (fetch_inferior_registers): Only fetch integer registers | |
1242 | if requested to do so. Add support for XMM registers | |
1243 | using PT_GETXMMREGS. | |
1244 | (store_inferior_registers): Only store integer registers | |
1245 | if requested to do so. Add support for XMM registers | |
1246 | using PT_SETXMMREGS. | |
1247 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
1248 | (store_inferior_registers): Remove. | |
1249 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
1250 | (fetch_elfcore_registers): New function. | |
1251 | (i386nbsd_elfcore_fns): New. | |
1252 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
1253 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
1254 | i386bsd-nat.o. | |
1255 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1256 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
1257 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
1258 | * config/i386/tm-nbsd.h: Update copyright years. | |
1259 | (HAVE_SSE_REGS): Define. | |
1260 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
1261 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
1262 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
1263 | (SIGCONTEXT_PC_OFFSET): Remove. | |
1264 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
1265 | ||
a752853e AC |
1266 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1267 | ||
1268 | * configure.tgt: Remove powerpc-*-macos* target. | |
1269 | * config/m68k/xm-mpw.h: Delete file. | |
1270 | * config/xm-mpw.h: Delete file. | |
1271 | * ser-mac.c: Delete file. | |
1272 | * mpw-make.sed: Delete file. | |
1273 | * mpw-config.in: Delete file. | |
1274 | * mac-xdep.c: Delete file. | |
1275 | * mac-gdb.r: Delete file. | |
1276 | * mac-defs.h: Delete file. | |
1277 | * mac-nat.c: Delete file. | |
1278 | * config/powerpc/macos.mh: Delete file. | |
1279 | * config/powerpc/macos.mt: Delete file. | |
1280 | * config/powerpc/nm-macos.h: Delete file. | |
1281 | * config/powerpc/tm-macos.h: Delete file. | |
1282 | * source.c (openp, open_source_file): Remove obsolete code. | |
1283 | * top.c (gdb_readline): Ditto. | |
1284 | * utils.c (query): Ditto. | |
1285 | * event-top.c (display_gdb_prompt): Ditto. | |
1286 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
1287 | * NEWS: Update. | |
1288 | ||
d7449b42 AC |
1289 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1290 | ||
1291 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
1292 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
1293 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
1294 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
1295 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
1296 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
1297 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
1298 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
1299 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
1300 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
1301 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
1302 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
1303 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
1304 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1305 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1306 | * gdbarch.c: Re-generate. | |
1307 | ||
356374e8 DJ |
1308 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1309 | ||
1310 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
1311 | for core files. | |
1312 | ||
a2b8f8f8 JT |
1313 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1314 | ||
1315 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
1316 | ||
12466af9 AC |
1317 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1318 | ||
1319 | * value.h (value_ptr): Delete typedef. | |
1320 | ||
3549ab40 JT |
1321 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1322 | ||
1323 | * i386nbsd-nat.c: Update copyright years. | |
1324 | Include i386-tdep.h. | |
1325 | ||
fedbd091 EZ |
1326 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
1327 | ||
1328 | * stabsread.c: Update copyright years. | |
1329 | ||
1330 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
1331 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
1332 | output for structs and unions. | |
fec8b34f | 1333 | Fix PR gdb/269. |
fedbd091 | 1334 | |
eb43544b DJ |
1335 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1336 | ||
1337 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
1338 | prototype. | |
1339 | ||
1514d34e DJ |
1340 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1341 | ||
1342 | * cp-abi.c: Fix whitespace. | |
1343 | (baseclass_offset): New wrapper function. | |
1344 | * cp-abi.h (baseclass_offset): Add prototype. | |
1345 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
1346 | ||
1347 | * valops.c (vb_match): Move to... | |
1348 | * gnu-v2-abi.c (vb_match): here. | |
1349 | * valops.c (baseclass_offset): Move to... | |
1350 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
1351 | ||
1352 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
1353 | ||
1354 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
1355 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
1356 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
1357 | ||
7f8c9282 DJ |
1358 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1359 | ||
1360 | * valops.c (find_overload_match): Accept obj as a | |
1361 | reference parameter. Update it before returning. | |
1362 | * value.h (find_overload_match): Update prototype. | |
1363 | * eval.c (evaluate_subexp_standard): Pass object to | |
1364 | find_overload_match by reference. | |
1365 | ||
f23631e4 AC |
1366 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
1367 | ||
1368 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
1369 | register attribute from value declarations. | |
1370 | * valops.c: Ditto. | |
1371 | * value.h: Ditto. | |
1372 | * scm-lang.c (scm_lookup_name): Ditto. | |
1373 | ||
79e10fab | 1374 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 1375 | |
79e10fab AC |
1376 | Abstract the functionality of iterating over mapped memory |
1377 | regions into a general purpose iterator function. | |
abf22e64 | 1378 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
1379 | iterator for memory sections. |
1380 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
1381 | (solib_mappings_callback): New function, callback for above. | |
1382 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
1383 | (info_mappings_callback): New function, callback for above. | |
1384 | ||
1385 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
1386 | ||
c5ad026a MK |
1387 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
1388 | ||
d2a7c97a MK |
1389 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
1390 | * i386-tdep.c: Include "elf-bfd.h". | |
1391 | (process_note_abi_tag_sections): New function. | |
1392 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
1393 | combinations. | |
1394 | ||
c5ad026a MK |
1395 | * maint.c (_initialize_maint_cmds): Add missing \ in |
1396 | string-literal. | |
1397 | ||
a1a5b71e | 1398 | For older changes see ChangeLog-2001 |
c906108c SS |
1399 | \f |
1400 | Local Variables: | |
1401 | mode: change-log | |
1402 | left-margin: 8 | |
1403 | fill-column: 74 | |
1404 | version-control: never | |
1405 | End: |