Commit | Line | Data |
---|---|---|
c6b92abd MS |
1 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
2 | ||
3 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
4 | (registers[] and register_valid[]). | |
5 | ||
4b09dc8c MS |
6 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
7 | ||
8 | * linux-proc.c: New file. Implement child_pid_to_exec_file, | |
9 | so that attaching to a pid will automatically read the process's | |
10 | symbol file and shlibs. | |
11 | * Makefile.in: Add rule for linux-proc.o. | |
12 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
13 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
14 | * config/arm/linux.mh: Ditto. | |
15 | * config/i386/linux.mh: Ditto. | |
16 | * config/i386/x86-64linux.mh: Ditto. | |
17 | * config/ia64/linux.mh: Ditto. | |
18 | * config/m68k/linux.mh: Ditto. | |
19 | * config/mips/linux.mh: Ditto. | |
20 | * config/powerpc/linux.mh: Ditto. | |
21 | * config/sparc/linux.mh: Ditto. | |
22 | ||
c25b74ac PM |
23 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
24 | ||
25 | * win32-nat.c: Add i386-tdep.h dependency. | |
26 | ||
94cd915f MS |
27 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
28 | ||
c7cccb76 MS |
29 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
30 | instead of bfd_get_arch_size. Don't bail out just because | |
31 | there's no exec_bfd. | |
32 | ||
34c0bd93 MS |
33 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
34 | * p-valprint.c (pascal_object_print_value): Ditto. | |
35 | * somread.c (som_symtab_read): Ditto. | |
36 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
37 | * valops.c (value_assign): Ditto. | |
38 | ||
21c1c920 MS |
39 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
40 | use tilde_expand and strerror for opening save-tracepoints file. | |
41 | ||
5bbd998e MS |
42 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
43 | ||
94cd915f MS |
44 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
45 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
46 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, | |
47 | can be overridden with whatever value is appropriate to the host). | |
48 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
49 | alloca to allocate potentially large buffer. | |
50 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
51 | * symm-nat.c (child_xfer_memory): Ditto. | |
52 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
53 | ||
494e8a93 JSC |
54 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
55 | ||
56 | From Nick Clifton <nickc@redhat.com> | |
57 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
58 | ||
d0e1d48e MS |
59 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
60 | ||
61 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): | |
62 | Don't use exec_bfd if it's NULL. | |
63 | ||
290b2c7a MK |
64 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
65 | ||
66 | * valops.c (value_arg_coerce): Fix formatting. | |
67 | ||
aef21287 AC |
68 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
69 | ||
70 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
71 | * gnu-nat.c: Ditto. | |
72 | ||
30efa627 AC |
73 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
74 | ||
75 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
76 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
77 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
78 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
79 | z8k-coff have not been multi-arched. Update z8k-coff build | |
80 | status. | |
81 | ||
9b4ff276 AC |
82 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
83 | ||
84 | * MAINTAINERS: Mark a29k target as obsolete. | |
85 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
86 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
87 | comments. | |
88 | * NEWS: Note that a29k targets are obsolete. | |
89 | * a29k-tdep.c: Mark as obsolete. | |
90 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
91 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
92 | a29k-*-vxworks* targets as obsolete. | |
93 | * remote-adapt.c: Obsolete. | |
94 | * remote-eb.c: Obsolete. | |
95 | * remote-mm.c: Obsolete. | |
96 | * remote-udi.c: Obsolete. | |
97 | * config/a29k/a29k-udi.mt: Obsolete. | |
98 | * config/a29k/a29k.mt: Obsolete. | |
99 | * config/a29k/tm-a29k.h: Obsolete. | |
100 | * config/a29k/tm-vx29k.h: Obsolete. | |
101 | * config/a29k/vx29k.mt: Obsolete. | |
102 | ||
a9011d31 AC |
103 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
104 | ||
105 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
106 | with BFD_ENDIAN_BIG. | |
107 | ||
9299404e AC |
108 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
109 | ||
110 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
111 | * configure, config.in: Re-generate. | |
112 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
113 | * defs.h: Do not include <endian.h>. | |
114 | ||
7e89e357 JT |
115 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
116 | ||
117 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
118 | * config.in: Regenerate. | |
119 | * configure.in: Update copyright years. | |
120 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
121 | * configure: Regenerate. | |
122 | * i386bsd-nat.c: Update copyright years. | |
123 | (fill_gregset): Use regcache_collect. | |
124 | (fetch_inferior_registers): Only fetch integer registers | |
125 | if requested to do so. Add support for XMM registers | |
126 | using PT_GETXMMREGS. | |
127 | (store_inferior_registers): Only store integer registers | |
128 | if requested to do so. Add support for XMM registers | |
129 | using PT_SETXMMREGS. | |
130 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
131 | (store_inferior_registers): Remove. | |
132 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
133 | (fetch_elfcore_registers): New function. | |
134 | (i386nbsd_elfcore_fns): New. | |
135 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
136 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
137 | i386bsd-nat.o. | |
138 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
139 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
140 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
141 | * config/i386/tm-nbsd.h: Update copyright years. | |
142 | (HAVE_SSE_REGS): Define. | |
143 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
144 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
145 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
146 | (SIGCONTEXT_PC_OFFSET): Remove. | |
147 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
148 | ||
a752853e AC |
149 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
150 | ||
151 | * configure.tgt: Remove powerpc-*-macos* target. | |
152 | * config/m68k/xm-mpw.h: Delete file. | |
153 | * config/xm-mpw.h: Delete file. | |
154 | * ser-mac.c: Delete file. | |
155 | * mpw-make.sed: Delete file. | |
156 | * mpw-config.in: Delete file. | |
157 | * mac-xdep.c: Delete file. | |
158 | * mac-gdb.r: Delete file. | |
159 | * mac-defs.h: Delete file. | |
160 | * mac-nat.c: Delete file. | |
161 | * config/powerpc/macos.mh: Delete file. | |
162 | * config/powerpc/macos.mt: Delete file. | |
163 | * config/powerpc/nm-macos.h: Delete file. | |
164 | * config/powerpc/tm-macos.h: Delete file. | |
165 | * source.c (openp, open_source_file): Remove obsolete code. | |
166 | * top.c (gdb_readline): Ditto. | |
167 | * utils.c (query): Ditto. | |
168 | * event-top.c (display_gdb_prompt): Ditto. | |
169 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
170 | * NEWS: Update. | |
171 | ||
d7449b42 AC |
172 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
173 | ||
174 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
175 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
176 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
177 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
178 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
179 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
180 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
181 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
182 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
183 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
184 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
185 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
186 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
187 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
188 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
189 | * gdbarch.c: Re-generate. | |
190 | ||
356374e8 DJ |
191 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
192 | ||
193 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
194 | for core files. | |
195 | ||
a2b8f8f8 JT |
196 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
197 | ||
198 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
199 | ||
12466af9 AC |
200 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
201 | ||
202 | * value.h (value_ptr): Delete typedef. | |
203 | ||
3549ab40 JT |
204 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
205 | ||
206 | * i386nbsd-nat.c: Update copyright years. | |
207 | Include i386-tdep.h. | |
208 | ||
fedbd091 EZ |
209 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
210 | ||
211 | * stabsread.c: Update copyright years. | |
212 | ||
213 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
214 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
215 | output for structs and unions. | |
fec8b34f | 216 | Fix PR gdb/269. |
fedbd091 | 217 | |
eb43544b DJ |
218 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
219 | ||
220 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
221 | prototype. | |
222 | ||
1514d34e DJ |
223 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
224 | ||
225 | * cp-abi.c: Fix whitespace. | |
226 | (baseclass_offset): New wrapper function. | |
227 | * cp-abi.h (baseclass_offset): Add prototype. | |
228 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
229 | ||
230 | * valops.c (vb_match): Move to... | |
231 | * gnu-v2-abi.c (vb_match): here. | |
232 | * valops.c (baseclass_offset): Move to... | |
233 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
234 | ||
235 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
236 | ||
237 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
238 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
239 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
240 | ||
7f8c9282 DJ |
241 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
242 | ||
243 | * valops.c (find_overload_match): Accept obj as a | |
244 | reference parameter. Update it before returning. | |
245 | * value.h (find_overload_match): Update prototype. | |
246 | * eval.c (evaluate_subexp_standard): Pass object to | |
247 | find_overload_match by reference. | |
248 | ||
f23631e4 AC |
249 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
250 | ||
251 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
252 | register attribute from value declarations. | |
253 | * valops.c: Ditto. | |
254 | * value.h: Ditto. | |
255 | * scm-lang.c (scm_lookup_name): Ditto. | |
256 | ||
79e10fab AC |
257 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
258 | ||
259 | Abstract the functionality of iterating over mapped memory | |
260 | regions into a general purpose iterator function. | |
261 | * procfs.c (iterate_over_mappings): New function, general purpose | |
262 | iterator for memory sections. | |
263 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
264 | (solib_mappings_callback): New function, callback for above. | |
265 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
266 | (info_mappings_callback): New function, callback for above. | |
267 | ||
268 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
269 | ||
c5ad026a MK |
270 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
271 | ||
d2a7c97a MK |
272 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
273 | * i386-tdep.c: Include "elf-bfd.h". | |
274 | (process_note_abi_tag_sections): New function. | |
275 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
276 | combinations. | |
277 | ||
c5ad026a MK |
278 | * maint.c (_initialize_maint_cmds): Add missing \ in |
279 | string-literal. | |
280 | ||
a1a5b71e | 281 | For older changes see ChangeLog-2001 |
c906108c SS |
282 | \f |
283 | Local Variables: | |
284 | mode: change-log | |
285 | left-margin: 8 | |
286 | fill-column: 74 | |
287 | version-control: never | |
288 | End: |